Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 1 | import static android.support.dependencies.DependenciesKt.* |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 2 | import android.support.LibraryGroups |
Anthony Chen | 68a1a43 | 2017-12-14 17:43:46 -0800 | [diff] [blame] | 3 | import android.support.LibraryVersions |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 4 | |
Aurimas Liutikas | 19d63aa | 2017-11-07 03:37:16 +0000 | [diff] [blame] | 5 | plugins { |
| 6 | id("SupportAndroidLibraryPlugin") |
| 7 | } |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 8 | |
| 9 | dependencies { |
| 10 | api project(':appcompat-v7') |
| 11 | api project(':cardview-v7') |
Alan Viverette | 0a1e29f | 2017-12-05 14:22:48 -0500 | [diff] [blame] | 12 | api("com.android.support:design:28.0.0-SNAPSHOT", { transitive = false }) |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 13 | api project(':support-annotations') |
Anthony Chen | ab07f45 | 2017-09-25 15:35:17 -0700 | [diff] [blame] | 14 | api project(':support-v4') |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 15 | api project(':recyclerview-v7') |
| 16 | |
Jake Wharton | 66807fc | 2017-12-05 14:44:35 -0500 | [diff] [blame] | 17 | androidTestImplementation(TEST_RUNNER) |
| 18 | androidTestImplementation(ESPRESSO_CORE) |
Aurimas Liutikas | b8fd9b6 | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 19 | 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, Yuxing | d0e9e80 | 2017-12-14 17:59:14 -0800 | [diff] [blame] | 22 | |
| 23 | testImplementation(JUNIT) |
| 24 | testImplementation(TEST_RUNNER) |
| 25 | testImplementation(MOCKITO_CORE) |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | android { |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 29 | sourceSets { |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 30 | main.res.srcDirs 'res', 'res-public' |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | supportLibrary { |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 35 | name = "Android Car Support UI" |
| 36 | publish = false |
Anthony Chen | 68a1a43 | 2017-12-14 17:43:46 -0800 | [diff] [blame] | 37 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
Aurimas Liutikas | 44d7d86 | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 38 | mavenGroup = LibraryGroups.SUPPORT |
| 39 | inceptionYear = "2017" |
| 40 | description = "Android Car Support UI" |
| 41 | java8Library = true |
Aurimas Liutikas | d794613 | 2017-12-14 08:05:08 -0800 | [diff] [blame] | 42 | minSdkVersion = 24 |
Anthony Chen | 8b2eb6e | 2017-09-08 11:42:56 -0700 | [diff] [blame] | 43 | } |