blob: 4ff27cbb23f24028d99db65da8f5f69cded867f9 [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-annotations"))
11 api(project(":support-compat"))
Kirill Grouchnikova3f5b462017-07-31 16:03:02 -040012 api project(':support-core-utils')
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080013
Jake Wharton66807fc2017-12-05 14:44:35 -050014 androidTestImplementation(TEST_RUNNER)
15 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080016 androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_support)
17 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
Kirill Grouchnikov3743a7e2017-09-26 17:55:05 -040018 androidTestImplementation project(':support-testutils'), {
19 exclude group: 'com.android.support', module: 'support-core-ui'
20 }
Kirill Grouchnikova3f5b462017-07-31 16:03:02 -040021
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080022 testImplementation(JUNIT)
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070023}
24
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070025android {
Kirill Grouchnikova3f5b462017-07-31 16:03:02 -040026 sourceSets {
27 main.res.srcDirs = [
28 'res',
29 'res-public'
30 ]
31 }
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070032 buildTypes.all {
33 consumerProguardFiles 'proguard-rules.pro'
34 }
Kirill Grouchnikovff22d812016-05-11 15:24:25 -070035}
36
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080037supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080038 name = "Android Support Library core UI"
39 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080040 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas44d7d862017-10-27 17:55:06 -070041 mavenGroup = LibraryGroups.SUPPORT
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080042 inceptionYear = "2011"
43 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."
44 legacySourceLocation = true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080045}