Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 1 | apply plugin: 'com.android.library' |
| 2 | |
| 3 | archivesBaseName = 'support-v4' |
| 4 | dependencies { |
| 5 | compile project(':support-compat') |
Kirill Grouchnikov | d3c5347 | 2016-05-10 08:02:18 -0700 | [diff] [blame] | 6 | compile project(':support-media-compat') |
Kirill Grouchnikov | ff22d81 | 2016-05-11 15:24:25 -0700 | [diff] [blame] | 7 | compile project(':support-core-utils') |
| 8 | compile project(':support-core-ui') |
| 9 | compile project(':support-fragment') |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | android { |
| 13 | compileSdkVersion project.ext.currentSdk |
| 14 | |
| 15 | defaultConfig { |
Kirill Grouchnikov | df15399 | 2016-05-04 16:55:20 -0400 | [diff] [blame] | 16 | minSdkVersion 9 |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 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 | |
Tony Mantler | 093b6fa | 2016-07-22 13:41:04 -0700 | [diff] [blame] | 26 | lintOptions { |
| 27 | abortOnError false |
| 28 | } |
| 29 | |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 30 | compileOptions { |
| 31 | sourceCompatibility JavaVersion.VERSION_1_7 |
| 32 | targetCompatibility JavaVersion.VERSION_1_7 |
| 33 | } |
| 34 | } |
| 35 | |
Dake Gu | 839e4fb | 2016-06-10 15:58:26 -0700 | [diff] [blame] | 36 | uploadArchives { |
| 37 | repositories { |
| 38 | mavenDeployer { |
| 39 | repository(url: uri(rootProject.ext.supportRepoOut)) { |
| 40 | } |
Kirill Grouchnikov | 3ac77bf | 2016-04-27 12:46:47 -0400 | [diff] [blame] | 41 | |
Dake Gu | 839e4fb | 2016-06-10 15:58:26 -0700 | [diff] [blame] | 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 | } |