blob: 8413a90e73c5a97bc8b4d1ba7b1426bf20479012 [file] [log] [blame]
Aurimas Liutikas6d20a522017-03-10 17:13:03 -08001/*
2 * Copyright (C) 2017 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
Jelle Fresen4a13c562021-11-26 16:50:44 +000017import androidx.build.LibraryType
18
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070019plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010020 id("AndroidXPlugin")
21 id("com.android.library")
shepshapardceeb3042018-07-30 11:19:41 -070022 id("kotlin-android")
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070023}
Aurimas Liutikas6d20a522017-03-10 17:13:03 -080024
25dependencies {
Ian Lake391dc4b2019-09-07 17:51:23 -070026 api("androidx.fragment:fragment:1.1.0")
Kirill Grouchnikov3743a7e2017-09-26 17:55:05 -040027
Aurimas Liutikas00442962021-06-01 17:18:09 -070028 implementation(libs.testExtJunit)
29 implementation(libs.testCore)
30 implementation(libs.testRules)
31 implementation(libs.kotlinStdlib)
Aurimas Liutikas6d20a522017-03-10 17:13:03 -080032}
33
Aurimas Liutikas63f60162017-09-19 06:30:32 -070034android {
Aurimas Liutikas63f60162017-09-19 06:30:32 -070035 lintOptions {
Jim Sproch9e38b4f2021-01-06 14:21:06 -080036 disable "InvalidPackage" // Lint is unhappy about junit package
Aurimas Liutikas63f60162017-09-19 06:30:32 -070037 }
Chris Craikb947b352019-06-13 13:34:57 -070038 defaultConfig {
39 testInstrumentationRunner "androidx.testutils.ActivityRecyclingAndroidJUnitRunner"
40 }
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070041 namespace "androidx.testutils.runtime"
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -070042}
Jelle Fresen4a13c562021-11-26 16:50:44 +000043
44androidx {
45 type = LibraryType.INTERNAL_TEST_LIBRARY
46}