blob: 330608fe62597e53ce137544ffeccad67b0d2fe4 [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
17import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.LibraryGroups
19import androidx.build.LibraryVersions
20
21plugins {
22 id("SupportAndroidLibraryPlugin")
23 id("kotlin-android")
24}
25
26android {
Ian Lake8bc01cc2018-10-23 09:30:11 -070027 buildTypes {
28 debug {
29 testCoverageEnabled = false // Breaks Kotlin compiler.
30 }
31 }
Yuki Hamadacb756d42018-10-05 16:50:28 -070032 lintOptions {
33 fatal("UnknownNullness")
34 }
35}
36
37dependencies {
Ian Lake8bc01cc2018-10-23 09:30:11 -070038 api(project(":fragment-ktx"))
Yuki Hamadacb756d42018-10-05 16:50:28 -070039 api(TEST_CORE)
Ian Lake8bc01cc2018-10-23 09:30:11 -070040 api(KOTLIN_STDLIB)
Yuki Hamadacb756d42018-10-05 16:50:28 -070041 androidTestImplementation(KOTLIN_STDLIB)
Alan Viverettebadf2f82018-12-18 12:14:10 -050042 androidTestImplementation(TEST_EXT_JUNIT)
43 androidTestImplementation(TEST_CORE)
Yuki Hamadacb756d42018-10-05 16:50:28 -070044 androidTestImplementation(TEST_RUNNER)
45 androidTestImplementation(TEST_RULES)
Yuki Hamada4b1e10a2018-11-13 18:15:11 -080046 androidTestImplementation(TEST_EXT_JUNIT)
Alan Viverettebadf2f82018-12-18 12:14:10 -050047 androidTestImplementation(TEST_CORE)
48 androidTestImplementation(TEST_RUNNER)
Yuki Hamadacb756d42018-10-05 16:50:28 -070049 androidTestImplementation(TRUTH)
Yuki Hamadacb756d42018-10-05 16:50:28 -070050}
51
52supportLibrary {
53 name = "Fragment Test Extensions"
54 publish = true
55 mavenVersion = LibraryVersions.FRAGMENT
56 mavenGroup = LibraryGroups.FRAGMENT
57 inceptionYear = "2018"
58 description = "Extensions for testing 'fragment' artifact"
59 useMetalava = true
60}