Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 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 | */ |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 25 | |
| 26 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 29 | id("kotlin-android") |
| 30 | } |
| 31 | |
Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 32 | dependencies { |
Ian Lake | 06305aa | 2019-06-06 15:12:51 -0700 | [diff] [blame] | 33 | api(project(":fragment:fragment-ktx")) |
Jeremy Woods | f532322 | 2023-04-10 21:09:02 +0000 | [diff] [blame] | 34 | api("androidx.test:core:1.5.0") |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 35 | api(libs.kotlinStdlib) |
Brett Chabot | 0292adb | 2022-11-15 15:04:55 -0800 | [diff] [blame] | 36 | api(project(":fragment:fragment-testing-manifest")) |
Aurimas Liutikas | bc1dbeb | 2021-05-04 13:36:59 -0700 | [diff] [blame] | 37 | androidTestImplementation(libs.kotlinStdlib) |
| 38 | androidTestImplementation(libs.espressoCore) |
| 39 | androidTestImplementation(libs.testExtJunit) |
| 40 | androidTestImplementation(libs.testCore) |
| 41 | androidTestImplementation(libs.testRunner) |
| 42 | androidTestImplementation(libs.testRules) |
| 43 | androidTestImplementation(libs.truth) |
| 44 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| 45 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
Matthew Fraschilla | 4fead8c | 2019-10-22 16:21:52 -0700 | [diff] [blame] | 46 | |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 47 | lintPublish(project(":fragment:fragment-testing-lint")) |
Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 48 | } |
| 49 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 50 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 51 | name = "Fragment Testing Extensions" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 52 | type = LibraryType.PUBLISHED_LIBRARY |
Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 53 | inceptionYear = "2018" |
| 54 | description = "Extensions for testing 'fragment' artifact" |
Jinseong Jeon | 999075e | 2023-08-22 00:40:11 -0700 | [diff] [blame] | 55 | metalavaK2UastEnabled = true |
Aurimas Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 56 | legacyDisableKotlinStrictApiMode = true |
Yuki Hamada | cb756d4 | 2018-10-05 16:50:28 -0700 | [diff] [blame] | 57 | } |
Sergey Vasilinets | 15d5a9d | 2021-06-25 14:30:22 +0100 | [diff] [blame] | 58 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 59 | android { |
| 60 | namespace "androidx.fragment.testing" |
| 61 | } |