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 | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 4 | import androidx.build.Publish |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 5 | |
| 6 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 7 | id("AndroidXPlugin") |
| 8 | id("com.android.library") |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | dependencies { |
Nick Anthony | ac4cf06 | 2019-06-04 10:59:29 -0400 | [diff] [blame] | 12 | api("androidx.annotation:annotation:1.1.0") |
Nick Anthony | 0aefc6b | 2019-05-30 10:52:17 -0400 | [diff] [blame] | 13 | api("androidx.core:core:1.1.0-rc01") |
Nick Anthony | d9ca300 | 2018-11-13 13:34:52 -0500 | [diff] [blame] | 14 | api("androidx.interpolator:interpolator:1.0.0") |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 15 | |
| 16 | androidTestImplementation(JUNIT) |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 17 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 18 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 19 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 20 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 21 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
| 22 | androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_for_espresso) |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 23 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| 24 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
Aurimas Liutikas | 67171c8 | 2018-02-27 13:10:25 -0800 | [diff] [blame] | 25 | androidTestImplementation project(':internal-testutils'), { |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 26 | exclude group: 'androidx.swiperefreshlayout', module: 'swiperefreshlayout' |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 27 | } |
Jelle Fresen | 3dad54b | 2019-05-30 15:53:56 +0100 | [diff] [blame] | 28 | androidTestImplementation(ANDROIDX_RECYCLERVIEW) { |
| 29 | exclude group: 'androidx.swiperefreshlayout', module: 'swiperefreshlayout' |
| 30 | } |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 31 | } |
| 32 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 33 | androidx { |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 34 | name = "Android Support Library Custom View" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 35 | publish = Publish.SNAPSHOT_AND_RELEASE |
shepshapard | 8118725 | 2018-07-11 11:08:49 -0700 | [diff] [blame] | 36 | mavenVersion = LibraryVersions.SWIPE_REFRESH_LAYOUT |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 37 | mavenGroup = LibraryGroups.SWIPEREFRESHLAYOUT |
Aurimas Liutikas | 368a8e5 | 2018-02-13 09:55:20 -0800 | [diff] [blame] | 38 | inceptionYear = "2018" |
| 39 | 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." |
| 40 | } |