build.gradle revision f7513065a3e7c0843477d370c09e86d088d6a465
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 49uploadArchives { 50 repositories { 51 mavenDeployer { 52 repository(url: uri(rootProject.ext.supportRepoOut)) { 53 } 54 55 pom.project { 56 name 'Android Support Library compat' 57 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." 58 url 'http://developer.android.com/tools/extras/support-library.html' 59 inceptionYear '2011' 60 61 licenses { 62 license { 63 name 'The Apache Software License, Version 2.0' 64 url 'http://www.apache.org/licenses/LICENSE-2.0.txt' 65 distribution 'repo' 66 } 67 } 68 69 scm { 70 url "http://source.android.com" 71 connection "scm:git:https://android.googlesource.com/platform/frameworks/support" 72 } 73 developers { 74 developer { 75 name 'The Android Open Source Project' 76 } 77 } 78 } 79 } 80 } 81}