blob: f15ff02248bbf992ab0cc37a076894b6b8eb1ae8 [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
Anthony Chen68a1a432017-12-14 17:43:46 -08003import android.support.LibraryVersions
Aurimas Liutikas44d7d862017-10-27 17:55:06 -07004
Aurimas Liutikas19d63aa2017-11-07 03:37:16 +00005plugins {
6 id("SupportAndroidLibraryPlugin")
7}
Anthony Chen8b2eb6e2017-09-08 11:42:56 -07008
9dependencies {
10 api project(':appcompat-v7')
11 api project(':cardview-v7')
Anthony Chen82b733f2018-01-09 10:25:37 -080012 api project(':design')
Anthony Chen8b2eb6e2017-09-08 11:42:56 -070013 api project(':support-annotations')
Anthony Chenab07f452017-09-25 15:35:17 -070014 api project(':support-v4')
Anthony Chen8b2eb6e2017-09-08 11:42:56 -070015 api project(':recyclerview-v7')
16
Jake Wharton66807fc2017-12-05 14:44:35 -050017 androidTestImplementation(TEST_RUNNER)
18 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080019 androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_support)
20 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
21 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
Yao, Yuxingd0e9e802017-12-14 17:59:14 -080022
23 testImplementation(JUNIT)
24 testImplementation(TEST_RUNNER)
25 testImplementation(MOCKITO_CORE)
Yao, Yuxing3737d1d2018-02-06 15:33:42 -080026
27 compileOnly fileTree(dir: 'car-stubs', include: ['android.car.jar'])
28 // androidTest uses android.car APIs to provide test utility.
29 androidTestCompileOnly fileTree(dir: 'car-stubs', include: ['android.car.jar'])
Anthony Chen8b2eb6e2017-09-08 11:42:56 -070030}
31
32android {
Anthony Chen8b2eb6e2017-09-08 11:42:56 -070033 sourceSets {
Anthony Chen8b2eb6e2017-09-08 11:42:56 -070034 main.res.srcDirs 'res', 'res-public'
35 }
36}
37
38supportLibrary {
Aurimas Liutikas44d7d862017-10-27 17:55:06 -070039 name = "Android Car Support UI"
40 publish = false
Anthony Chen68a1a432017-12-14 17:43:46 -080041 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas44d7d862017-10-27 17:55:06 -070042 mavenGroup = LibraryGroups.SUPPORT
43 inceptionYear = "2017"
44 description = "Android Car Support UI"
45 java8Library = true
Aurimas Liutikasd7946132017-12-14 08:05:08 -080046 minSdkVersion = 24
Anthony Chen8b2eb6e2017-09-08 11:42:56 -070047}