blob: 05a91df8ef6d4ae48ce90830192ff3b5a28c2ed4 [file] [log] [blame]
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -08001import static android.support.dependencies.DependenciesKt.*
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07002import android.support.LibraryGroups
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -08003import android.support.LibraryVersions
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07004
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -07005plugins {
6 id("SupportAndroidLibraryPlugin")
7}
Jaekyun Seokbc734092014-04-10 08:12:34 +09008
9dependencies {
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080010 api(project(":support-compat"))
11 api(project(":support-core-ui"))
12 api(project(":support-media-compat"))
13 api(project(":support-fragment"))
14 api(project(":recyclerview-v7"))
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080015
Jake Wharton66807fc2017-12-05 14:44:35 -050016 androidTestImplementation(TEST_RUNNER)
17 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080018 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
19 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
Jaekyun Seokbc734092014-04-10 08:12:34 +090020}
21
22android {
Jaekyun Seokbc734092014-04-10 08:12:34 +090023 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010024 main.java.srcDirs = [
25 'common',
26 'jbmr2',
27 'kitkat',
28 'api21',
Alan Viverette9439d702016-10-25 14:45:10 +010029 'src'
30 ]
31 main.res.srcDir 'res'
Jaekyun Seokbc734092014-04-10 08:12:34 +090032 }
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070033}
34
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080035supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080036 name = "Android Support Leanback v17"
37 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080038 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070039 mavenGroup = LibraryGroups.SUPPORT
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080040 inceptionYear = "2014"
41 description = "Android Support Leanback v17"
42 legacySourceLocation = true
Aurimas Liutikasd7946132017-12-14 08:05:08 -080043 minSdkVersion = 17
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080044}