blob: a55aed5663d12a43b456230376b4f111f5065803 [file] [log] [blame]
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -04001apply plugin: 'com.android.library'
2
3archivesBaseName = 'support-v4'
4dependencies {
5 compile project(':support-compat')
Kirill Grouchnikovd3c53472016-05-10 08:02:18 -07006 compile project(':support-media-compat')
Kirill Grouchnikovff22d812016-05-11 15:24:25 -07007 compile project(':support-core-utils')
8 compile project(':support-core-ui')
9 compile project(':support-fragment')
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040010}
11
12android {
13 compileSdkVersion project.ext.currentSdk
14
15 defaultConfig {
Kirill Grouchnikovdf153992016-05-04 16:55:20 -040016 minSdkVersion 9
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040017 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
Tony Mantler093b6fa2016-07-22 13:41:04 -070026 lintOptions {
27 abortOnError false
28 }
29
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040030 compileOptions {
31 sourceCompatibility JavaVersion.VERSION_1_7
32 targetCompatibility JavaVersion.VERSION_1_7
33 }
34}
35
Dake Gu839e4fb2016-06-10 15:58:26 -070036uploadArchives {
37 repositories {
38 mavenDeployer {
39 repository(url: uri(rootProject.ext.supportRepoOut)) {
40 }
Kirill Grouchnikov3ac77bf2016-04-27 12:46:47 -040041
Dake Gu839e4fb2016-06-10 15:58:26 -070042 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}