Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 1 | import android.support.LibraryGroups |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 2 | import android.support.LibraryVersions |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 3 | |
Aurimas Liutikas | f8b708a | 2017-11-02 16:07:13 -0700 | [diff] [blame] | 4 | plugins { |
| 5 | id("SupportAndroidLibraryPlugin") |
| 6 | } |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 7 | |
| 8 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 9 | api project(':support-compat') |
| 10 | api project(':support-core-ui') |
| 11 | api project(':support-media-compat') |
| 12 | api project(':support-fragment') |
Aurimas Liutikas | 40e7821 | 2017-07-20 14:22:58 -0700 | [diff] [blame] | 13 | api project(':recyclerview-v7') |
Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 14 | |
Aurimas Liutikas | a82b39f | 2017-07-24 17:32:00 -0700 | [diff] [blame] | 15 | 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 Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | android { |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 22 | defaultConfig { |
| 23 | minSdkVersion 17 |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 24 | } |
| 25 | |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 26 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 27 | main.java.srcDirs = [ |
| 28 | 'common', |
| 29 | 'jbmr2', |
| 30 | 'kitkat', |
| 31 | 'api21', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 32 | 'src' |
| 33 | ] |
| 34 | main.res.srcDir 'res' |
Jaekyun Seok | bc73409 | 2014-04-10 08:12:34 +0900 | [diff] [blame] | 35 | } |
Xavier Ducrohet | 9acddc7 | 2014-05-28 22:20:01 -0700 | [diff] [blame] | 36 | } |
| 37 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 38 | supportLibrary { |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 39 | name = "Android Support Leanback v17" |
| 40 | publish = true |
Aurimas Liutikas | 78c1ab7 | 2017-11-08 13:33:51 -0800 | [diff] [blame] | 41 | mavenVersion = LibraryVersions.SUPPORT_LIBRARY |
Aurimas Liutikas | 7f40a7e | 2017-10-27 17:55:06 -0700 | [diff] [blame] | 42 | mavenGroup = LibraryGroups.SUPPORT |
Aurimas Liutikas | ea5ee82 | 2017-11-06 12:52:28 -0800 | [diff] [blame] | 43 | inceptionYear = "2014" |
| 44 | description = "Android Support Leanback v17" |
| 45 | legacySourceLocation = true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 46 | } |