1apply plugin: 'com.android.library' 2 3archivesBaseName = 'support-v4' 4dependencies { 5 compile project(':support-compat') 6 compile project(':support-media-compat') 7 compile project(':support-core-utils') 8 compile project(':support-core-ui') 9 compile project(':support-fragment') 10} 11 12android { 13 compileSdkVersion project.ext.currentSdk 14 15 defaultConfig { 16 minSdkVersion 9 17 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 18 // This disables the builds tools automatic vector -> PNG generation 19 generatedDensities = [] 20 } 21 22 sourceSets { 23 main.manifest.srcFile 'AndroidManifest.xml' 24 } 25 26 lintOptions { 27 abortOnError false 28 } 29 30 compileOptions { 31 sourceCompatibility JavaVersion.VERSION_1_7 32 targetCompatibility JavaVersion.VERSION_1_7 33 } 34} 35 36uploadArchives { 37 repositories { 38 mavenDeployer { 39 repository(url: uri(rootProject.ext.supportRepoOut)) { 40 } 41 42 pom.project { 43 name 'Android Support Library v4' 44 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." 45 url 'http://developer.android.com/tools/extras/support-library.html' 46 inceptionYear '2011' 47 48 licenses { 49 license { 50 name 'The Apache Software License, Version 2.0' 51 url 'http://www.apache.org/licenses/LICENSE-2.0.txt' 52 distribution 'repo' 53 } 54 } 55 56 scm { 57 url "http://source.android.com" 58 connection "scm:git:https://android.googlesource.com/platform/frameworks/support" 59 } 60 developers { 61 developer { 62 name 'The Android Open Source Project' 63 } 64 } 65 } 66 } 67 } 68} 69