Rafael Lima | b2b36f0 | 2021-01-21 17:59:50 +0000 | [diff] [blame] | 1 | /* |
| 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 Liutikas | 459471a | 2021-06-02 09:06:37 -0700 | [diff] [blame] | 16 | |
Tiem Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Lima | b2b36f0 | 2021-01-21 17:59:50 +0000 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Rafael Lima | b2b36f0 | 2021-01-21 17:59:50 +0000 | [diff] [blame] | 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | } |
| 30 | |
| 31 | dependencies { |
Rafael Lima | 803da59 | 2021-02-06 00:45:23 +0000 | [diff] [blame] | 32 | api(project(":car:app:app")) |
repo sync -c -j8 | 1fa052d | 2021-03-17 08:24:08 -0700 | [diff] [blame] | 33 | implementation "androidx.lifecycle:lifecycle-runtime:2.2.0" |
Rafael Lima | 803da59 | 2021-02-06 00:45:23 +0000 | [diff] [blame] | 34 | implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0" |
| 35 | implementation 'androidx.annotation:annotation:1.1.0' |
Aurimas Liutikas | 459471a | 2021-06-02 09:06:37 -0700 | [diff] [blame] | 36 | implementation(libs.robolectric) |
natnaelbelay | a817dd9 | 2024-01-17 10:30:59 -0500 | [diff] [blame] | 37 | implementation("androidx.annotation:annotation-experimental:1.4.0") |
Billy Lam | 29b6bb9 | 2021-02-26 19:21:12 +0000 | [diff] [blame] | 38 | |
Rafael Lima | 410e33c | 2022-01-07 16:49:05 +0000 | [diff] [blame] | 39 | testImplementation(project(":car:app:app-projected")) |
Aurimas Liutikas | b20296a | 2021-12-21 15:56:47 -0800 | [diff] [blame] | 40 | testImplementation(libs.junit) |
Aurimas Liutikas | 459471a | 2021-06-02 09:06:37 -0700 | [diff] [blame] | 41 | testImplementation(libs.testCore) |
| 42 | testImplementation(libs.testRunner) |
| 43 | testImplementation(libs.junit) |
Aurimas Liutikas | 759f968 | 2022-10-05 07:01:37 -0700 | [diff] [blame] | 44 | testImplementation(libs.mockitoCore4) |
Aurimas Liutikas | 459471a | 2021-06-02 09:06:37 -0700 | [diff] [blame] | 45 | testImplementation(libs.robolectric) |
| 46 | testImplementation(libs.truth) |
Rafael Lima | 51d72f3 | 2021-03-04 00:00:42 +0000 | [diff] [blame] | 47 | |
Aurimas Liutikas | 459471a | 2021-06-02 09:06:37 -0700 | [diff] [blame] | 48 | annotationProcessor(libs.nullaway) |
Rafael Lima | 803da59 | 2021-02-06 00:45:23 +0000 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | android { |
Alan Viverette | 4411aa1 | 2021-05-07 18:33:11 -0400 | [diff] [blame] | 52 | lintOptions { |
| 53 | disable("InvalidPackage") |
| 54 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 55 | namespace "androidx.car.app.testing" |
Rafael Lima | b2b36f0 | 2021-01-21 17:59:50 +0000 | [diff] [blame] | 56 | } |
| 57 | |
| 58 | androidx { |
| 59 | name = "androidx.car.app:app-testing" |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 60 | type = LibraryType.PUBLISHED_TEST_LIBRARY |
Rafael Lima | b2b36f0 | 2021-01-21 17:59:50 +0000 | [diff] [blame] | 61 | inceptionYear = "2021" |
| 62 | description = "androidx.car.app:app-testing" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 63 | metalavaK2UastEnabled = true |
Rafael Lima | b2b36f0 | 2021-01-21 17:59:50 +0000 | [diff] [blame] | 64 | } |