Winson | b309cde | 2020-09-23 10:52:42 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2020 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 | */ |
| 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 | */ |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 24 | import androidx.build.LibraryType |
| 25 | |
Winson | b309cde | 2020-09-23 10:52:42 -0700 | [diff] [blame] | 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("kotlin-android") |
| 30 | } |
| 31 | |
| 32 | dependencies { |
Aurimas Liutikas | 1a31ba6 | 2024-08-30 12:49:00 -0700 | [diff] [blame] | 33 | api(libs.mockitoCore) |
Winson | b309cde | 2020-09-23 10:52:42 -0700 | [diff] [blame] | 34 | |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 35 | implementation(libs.kotlinStdlib) |
Winson | b309cde | 2020-09-23 10:52:42 -0700 | [diff] [blame] | 36 | } |
Alan Viverette | 4411aa1 | 2021-05-07 18:33:11 -0400 | [diff] [blame] | 37 | |
| 38 | android { |
| 39 | lintOptions { |
| 40 | disable "InvalidPackage" // Lint is unhappy about java.lang.instrument package |
| 41 | } |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 42 | namespace = "androidx.testutils.mockito" |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | androidx { |
| 46 | type = LibraryType.INTERNAL_TEST_LIBRARY |
| 47 | } |