[go: nahoru, domu]

blob: 8247092738a708ce3c225a705efd2b466109b6c8 [file] [log] [blame]
Yuki Hamadacb756d42018-10-05 16:50:28 -07001/*
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 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 */
Omar Ismail86e66062024-05-03 16:10:50 +010024import androidx.build.LibraryType
Yuki Hamadacb756d42018-10-05 16:50:28 -070025
26plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010027 id("AndroidXPlugin")
28 id("com.android.library")
Yuki Hamadacb756d42018-10-05 16:50:28 -070029 id("kotlin-android")
30}
31
Yuki Hamadacb756d42018-10-05 16:50:28 -070032dependencies {
Ian Lake06305aa2019-06-06 15:12:51 -070033 api(project(":fragment:fragment-ktx"))
Jeremy Woodsf5323222023-04-10 21:09:02 +000034 api("androidx.test:core:1.5.0")
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070035 api(libs.kotlinStdlib)
Brett Chabot0292adb2022-11-15 15:04:55 -080036 api(project(":fragment:fragment-testing-manifest"))
Aurimas Liutikasbc1dbeb2021-05-04 13:36:59 -070037 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 Fraschilla4fead8c2019-10-22 16:21:52 -070046
Jim Sproch9e38b4f2021-01-06 14:21:06 -080047 lintPublish(project(":fragment:fragment-testing-lint"))
Yuki Hamadacb756d42018-10-05 16:50:28 -070048}
49
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070050androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040051 name = "Fragment Testing Extensions"
Omar Ismail86e66062024-05-03 16:10:50 +010052 type = LibraryType.PUBLISHED_LIBRARY
Yuki Hamadacb756d42018-10-05 16:50:28 -070053 inceptionYear = "2018"
54 description = "Extensions for testing 'fragment' artifact"
Jinseong Jeon999075e2023-08-22 00:40:11 -070055 metalavaK2UastEnabled = true
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070056 legacyDisableKotlinStrictApiMode = true
Yuki Hamadacb756d42018-10-05 16:50:28 -070057}
Sergey Vasilinets15d5a9d2021-06-25 14:30:22 +010058
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070059android {
60 namespace "androidx.fragment.testing"
61}