Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 4 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 5 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 6 | id("AndroidXPlugin") |
| 7 | id("com.android.library") |
Sergey Vasilinets | 9823ca6 | 2018-08-23 18:41:17 -0700 | [diff] [blame] | 8 | id("kotlin-android") |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 9 | } |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 10 | |
Ian Lake | f89afb0 | 2018-09-11 15:44:56 -0700 | [diff] [blame] | 11 | android { |
| 12 | lintOptions { |
| 13 | fatal("UnknownNullness") |
| 14 | } |
| 15 | } |
| 16 | |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 17 | dependencies { |
Ian Lake | 37f2d45 | 2018-11-29 15:01:38 -0800 | [diff] [blame] | 18 | api(project(":annotation")) |
| 19 | api(project(":core")) { |
| 20 | exclude group: 'androidx.annotation' |
| 21 | } |
Jake Wharton | 53786fb | 2019-01-29 10:14:56 -0500 | [diff] [blame] | 22 | api(project(":collection")) |
Nick Anthony | 4447029 | 2018-11-12 18:33:34 -0500 | [diff] [blame] | 23 | api("androidx.viewpager:viewpager:1.0.0") |
Oussama Ben Abdelbaki | 237c894 | 2019-02-11 15:57:21 -0500 | [diff] [blame] | 24 | api(project(":annotation")) |
Nick Anthony | 4447029 | 2018-11-12 18:33:34 -0500 | [diff] [blame] | 25 | api("androidx.loader:loader:1.0.0") |
Ian Lake | 6e53bd19 | 2018-08-31 10:59:49 -0700 | [diff] [blame] | 26 | api(project(":activity")) |
Ian Lake | 979ba97 | 2018-01-02 14:13:35 -0800 | [diff] [blame] | 27 | api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive) |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 28 | |
Sergey Vasilinets | 9823ca6 | 2018-08-23 18:41:17 -0700 | [diff] [blame] | 29 | androidTestImplementation(KOTLIN_STDLIB) |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 30 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 31 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 32 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 33 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Ian Lake | b4e3e17 | 2018-10-15 13:22:44 -0700 | [diff] [blame] | 34 | androidTestImplementation(TRUTH) |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 35 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 36 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 37 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
Aurimas Liutikas | 67171c8 | 2018-02-27 13:10:25 -0800 | [diff] [blame] | 38 | androidTestImplementation project(':internal-testutils'), { |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 39 | exclude group: 'androidx.fragment', module: 'fragment' |
Kirill Grouchnikov | 3743a7e | 2017-09-26 17:55:05 -0400 | [diff] [blame] | 40 | } |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 43 | androidx { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 44 | name = "Android Support Library fragment" |
| 45 | publish = true |
Chris Banes | b019e15 | 2018-08-27 12:31:49 +1000 | [diff] [blame] | 46 | mavenVersion = LibraryVersions.FRAGMENT |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 47 | mavenGroup = LibraryGroups.FRAGMENT |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 48 | inceptionYear = "2011" |
| 49 | description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 14 or later." |
Aurimas Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 50 | failOnUncheckedWarnings = false |
| 51 | failOnDeprecationWarnings = false |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 52 | } |