[go: nahoru, domu]

blob: cb47a3a8f4d093c0693d05f471d7283eb1a53d37 [file] [log] [blame]
Rafael Limab2b36f02021-01-21 17:59:50 +00001/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Aurimas Liutikas459471a2021-06-02 09:06:37 -070016
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Rafael Limab2b36f02021-01-21 17:59:50 +000024import androidx.build.LibraryType
Rafael Limab2b36f02021-01-21 17:59:50 +000025
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
29}
30
31dependencies {
Rafael Lima803da592021-02-06 00:45:23 +000032 api(project(":car:app:app"))
repo sync -c -j81fa052d2021-03-17 08:24:08 -070033 implementation "androidx.lifecycle:lifecycle-runtime:2.2.0"
Rafael Lima803da592021-02-06 00:45:23 +000034 implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0"
35 implementation 'androidx.annotation:annotation:1.1.0'
Aurimas Liutikas459471a2021-06-02 09:06:37 -070036 implementation(libs.robolectric)
natnaelbelaya817dd92024-01-17 10:30:59 -050037 implementation("androidx.annotation:annotation-experimental:1.4.0")
Billy Lam29b6bb92021-02-26 19:21:12 +000038
Rafael Lima410e33c2022-01-07 16:49:05 +000039 testImplementation(project(":car:app:app-projected"))
Aurimas Liutikasb20296a2021-12-21 15:56:47 -080040 testImplementation(libs.junit)
Aurimas Liutikas459471a2021-06-02 09:06:37 -070041 testImplementation(libs.testCore)
42 testImplementation(libs.testRunner)
43 testImplementation(libs.junit)
Aurimas Liutikas759f9682022-10-05 07:01:37 -070044 testImplementation(libs.mockitoCore4)
Aurimas Liutikas459471a2021-06-02 09:06:37 -070045 testImplementation(libs.robolectric)
46 testImplementation(libs.truth)
Rafael Lima51d72f32021-03-04 00:00:42 +000047
Aurimas Liutikas459471a2021-06-02 09:06:37 -070048 annotationProcessor(libs.nullaway)
Rafael Lima803da592021-02-06 00:45:23 +000049}
50
51android {
Alan Viverette4411aa12021-05-07 18:33:11 -040052 lintOptions {
53 disable("InvalidPackage")
54 }
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070055 namespace "androidx.car.app.testing"
Rafael Limab2b36f02021-01-21 17:59:50 +000056}
57
58androidx {
59 name = "androidx.car.app:app-testing"
Jelle Fresen4a13c562021-11-26 16:50:44 +000060 type = LibraryType.PUBLISHED_TEST_LIBRARY
Rafael Limab2b36f02021-01-21 17:59:50 +000061 inceptionYear = "2021"
62 description = "androidx.car.app:app-testing"
Jinseong Jeon999075e2023-08-22 00:40:11 -070063 metalavaK2UastEnabled = true
Rafael Limab2b36f02021-01-21 17:59:50 +000064}