blob: 593e8de9a4b854792222f74c0465ddc42820eade [file] [log] [blame]
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -08001import static android.support.dependencies.DependenciesKt.*
Aurimas Liutikas44d7d862017-10-27 17:55:06 -07002import android.support.LibraryGroups
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -08003import android.support.LibraryVersions
Aurimas Liutikas44d7d862017-10-27 17:55:06 -07004
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -07005plugins {
6 id("SupportAndroidLibraryPlugin")
7}
Kirill Grouchnikovff22d812016-05-11 15:24:25 -07008
Kirill Grouchnikovff22d812016-05-11 15:24:25 -07009dependencies {
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080010 api(project(":support-compat"))
11 api(project(":support-core-ui"))
12 api(project(":support-core-utils"))
13 api(project(":support-annotations"))
Ian Lake38f4f412017-12-20 14:37:57 -080014 api(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive)
Ian Lake979ba972018-01-02 14:13:35 -080015 api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive)
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080016
Jake Wharton66807fc2017-12-05 14:44:35 -050017 androidTestImplementation(TEST_RUNNER)
18 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080019 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
20 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
Kirill Grouchnikov3743a7e2017-09-26 17:55:05 -040021 androidTestImplementation project(':support-testutils'), {
22 exclude group: 'com.android.support', module: 'support-fragment'
23 }
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070024}
25
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080026supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080027 name = "Android Support Library fragment"
28 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080029 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas44d7d862017-10-27 17:55:06 -070030 mavenGroup = LibraryGroups.SUPPORT
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080031 inceptionYear = "2011"
32 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 Liutikas16cd13b2017-01-04 15:00:13 -080033}