blob: 4ebec71a61d5ea77f3e214f8cf091983fd048127 [file] [log] [blame]
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07001import android.support.LibraryGroups
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -08002import android.support.LibraryVersions
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -07003
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -07004plugins {
5 id("SupportAndroidLibraryPlugin")
6}
Jaekyun Seokbc734092014-04-10 08:12:34 +09007
8dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07009 api project(':support-compat')
10 api project(':support-core-ui')
11 api project(':support-media-compat')
12 api project(':support-fragment')
Aurimas Liutikas40e78212017-07-20 14:22:58 -070013 api project(':recyclerview-v7')
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080014
Aurimas Liutikasa82b39f2017-07-24 17:32:00 -070015 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
16 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
17 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
18 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Jaekyun Seokbc734092014-04-10 08:12:34 +090019}
20
21android {
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070022 defaultConfig {
23 minSdkVersion 17
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070024 }
25
Jaekyun Seokbc734092014-04-10 08:12:34 +090026 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010027 main.java.srcDirs = [
28 'common',
29 'jbmr2',
30 'kitkat',
31 'api21',
Alan Viverette9439d702016-10-25 14:45:10 +010032 'src'
33 ]
34 main.res.srcDir 'res'
Jaekyun Seokbc734092014-04-10 08:12:34 +090035 }
Xavier Ducrohet9acddc72014-05-28 22:20:01 -070036}
37
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080038supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080039 name = "Android Support Leanback v17"
40 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080041 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas7f40a7e2017-10-27 17:55:06 -070042 mavenGroup = LibraryGroups.SUPPORT
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080043 inceptionYear = "2014"
44 description = "Android Support Leanback v17"
45 legacySourceLocation = true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080046}