blob: 13098511bfa75e866ec6f2d7d2cd18b5220402aa [file] [log] [blame]
Aurimas Liutikas526389b2018-02-27 14:01:24 -08001import static androidx.build.dependencies.DependenciesKt.*
2import androidx.build.LibraryGroups
3import androidx.build.LibraryVersions
Aurimas Liutikas75e93a02019-05-28 16:31:38 -07004import androidx.build.Publish
Aurimas Liutikas368a8e52018-02-13 09:55:20 -08005
6plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +01007 id("AndroidXPlugin")
8 id("com.android.library")
Aurimas Liutikas368a8e52018-02-13 09:55:20 -08009}
10
11dependencies {
Nick Anthonyac4cf062019-06-04 10:59:29 -040012 api("androidx.annotation:annotation:1.1.0")
Nick Anthony0aefc6b2019-05-30 10:52:17 -040013 api("androidx.core:core:1.1.0-rc01")
Nick Anthonyd9ca3002018-11-13 13:34:52 -050014 api("androidx.interpolator:interpolator:1.0.0")
Aurimas Liutikas368a8e52018-02-13 09:55:20 -080015
16 androidTestImplementation(JUNIT)
Dustin Lam3979d962019-04-08 10:40:19 -070017 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
18 androidTestImplementation(ANDROIDX_TEST_CORE)
19 androidTestImplementation(ANDROIDX_TEST_RUNNER)
20 androidTestImplementation(ANDROIDX_TEST_RULES)
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -070021 androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
22 androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_for_espresso)
Aurimas Liutikas368a8e52018-02-13 09:55:20 -080023 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 Liutikas67171c82018-02-27 13:10:25 -080025 androidTestImplementation project(':internal-testutils'), {
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080026 exclude group: 'androidx.swiperefreshlayout', module: 'swiperefreshlayout'
Aurimas Liutikas368a8e52018-02-13 09:55:20 -080027 }
Jelle Fresen3dad54b2019-05-30 15:53:56 +010028 androidTestImplementation(ANDROIDX_RECYCLERVIEW) {
29 exclude group: 'androidx.swiperefreshlayout', module: 'swiperefreshlayout'
30 }
Aurimas Liutikas368a8e52018-02-13 09:55:20 -080031}
32
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070033androidx {
Aurimas Liutikas368a8e52018-02-13 09:55:20 -080034 name = "Android Support Library Custom View"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070035 publish = Publish.SNAPSHOT_AND_RELEASE
shepshapard81187252018-07-11 11:08:49 -070036 mavenVersion = LibraryVersions.SWIPE_REFRESH_LAYOUT
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080037 mavenGroup = LibraryGroups.SWIPEREFRESHLAYOUT
Aurimas Liutikas368a8e52018-02-13 09:55:20 -080038 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}