Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 2 | archivesBaseName = 'support-v13' |
| 3 | |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 4 | dependencies { |
| 5 | compile project(':support-annotations') |
| 6 | compile project(':support-v4') |
Vladislav Kaznacheev | 8a771cd | 2016-11-15 13:22:38 -0800 | [diff] [blame] | 7 | |
| 8 | androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") { |
| 9 | exclude module: 'support-annotations' |
| 10 | } |
| 11 | androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") { |
| 12 | exclude module: 'support-annotations' |
| 13 | } |
| 14 | androidTestCompile "org.mockito:mockito-core:1.9.5" |
| 15 | androidTestCompile "com.google.dexmaker:dexmaker:1.2" |
| 16 | androidTestCompile "com.google.dexmaker:dexmaker-mockito:1.2" |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 17 | } |
Justin Klaassen | 68e7adb | 2016-01-21 12:50:47 -0800 | [diff] [blame] | 18 | |
Yigit Boyar | 5932b6f | 2014-04-30 13:43:59 -0700 | [diff] [blame] | 19 | android { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 20 | compileSdkVersion project.ext.currentSdk |
Yigit Boyar | 5932b6f | 2014-04-30 13:43:59 -0700 | [diff] [blame] | 21 | |
| 22 | defaultConfig { |
Aurimas Liutikas | f751306 | 2017-01-05 13:02:27 -0800 | [diff] [blame] | 23 | minSdkVersion 14 |
Yigit Boyar | 5932b6f | 2014-04-30 13:43:59 -0700 | [diff] [blame] | 24 | } |
| 25 | |
Yigit Boyar | 5932b6f | 2014-04-30 13:43:59 -0700 | [diff] [blame] | 26 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 27 | main.java.srcDirs = [ |
| 28 | 'ics', |
| 29 | 'ics-mr1', |
| 30 | 'api23', |
| 31 | 'api24', |
| 32 | 'api25', |
| 33 | 'java' |
| 34 | ] |
Yigit Boyar | 02a9e8c | 2016-01-26 20:41:00 -0800 | [diff] [blame] | 35 | } |
Yigit Boyar | 5932b6f | 2014-04-30 13:43:59 -0700 | [diff] [blame] | 36 | } |
| 37 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame^] | 38 | supportLibrary { |
| 39 | name 'Android Support Library v13' |
| 40 | inceptionYear '2011' |
| 41 | description "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 4 or later." |
| 42 | } |
| 43 | |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 44 | uploadArchives { |
| 45 | repositories { |
| 46 | mavenDeployer { |
Xavier Ducrohet | 855a922 | 2014-01-02 19:00:43 -0800 | [diff] [blame] | 47 | repository(url: uri(rootProject.ext.supportRepoOut)) { |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 48 | } |
Xavier Ducrohet | 86fb8ef | 2013-02-22 15:04:37 -0800 | [diff] [blame] | 49 | } |
| 50 | } |
| 51 | } |