build.gradle revision 16cd13b07468db7912854c5169e54de0e733af06
1apply plugin: android.support.SupportLibraryPlugin
2archivesBaseName = 'support-compat'
3
4dependencies {
5    compile project(':support-annotations')
6    androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
7        exclude module: 'support-annotations'
8    }
9    androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") {
10        exclude module: 'support-annotations'
11    }
12    androidTestCompile 'org.mockito:mockito-core:1.9.5'
13    androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
14    androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
15    testCompile 'junit:junit:4.12'
16}
17
18android {
19    compileSdkVersion project.ext.currentSdk
20
21    defaultConfig {
22        minSdkVersion 14
23    }
24
25    sourceSets {
26        main.java.srcDirs = [
27                'gingerbread',
28                'honeycomb',
29                'honeycomb_mr1',
30                'honeycomb_mr2',
31                'ics',
32                'ics-mr1',
33                'jellybean',
34                'jellybean-mr1',
35                'jellybean-mr2',
36                'kitkat',
37                'api20',
38                'api21',
39                'api22',
40                'api23',
41                'api24',
42                'api26',
43                'java'
44        ]
45        main.aidl.srcDirs = ['java']
46    }
47}
48
49supportLibrary {
50    name 'Android Support Library compat'
51    inceptionYear '2015'
52    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."
53}
54
55uploadArchives {
56    repositories {
57        mavenDeployer {
58            repository(url: uri(rootProject.ext.supportRepoOut)) {
59            }
60        }
61    }
62}