blob: 7ef9e5e4610e99fc061f3c02c3fcbeee6ba590c1 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08002archivesBaseName = 'gridlayout-v7'
3
Xavier Ducrohete8b71222013-11-20 16:30:26 -08004dependencies {
Kirill Grouchnikov55fc3f22016-05-12 12:17:09 -07005 compile project(':support-compat')
6 compile project(':support-core-ui')
Kirill Grouchnikov1d3991c2016-02-12 10:58:38 -08007
Aurimas Liutikasdfe75782016-08-03 14:27:20 -07008 androidTestCompile ("com.android.support.test:runner:${project.rootProject.ext.testRunnerVersion}") {
Kirill Grouchnikov1d3991c2016-02-12 10:58:38 -08009 exclude module: 'support-annotations'
10 }
Aurimas Liutikasdfe75782016-08-03 14:27:20 -070011 androidTestCompile ("com.android.support.test.espresso:espresso-core:${project.rootProject.ext.espressoVersion}") {
Kirill Grouchnikov1d3991c2016-02-12 10:58:38 -080012 exclude module: 'support-annotations'
13 }
14 testCompile 'junit:junit:4.12'
Xavier Ducrohete8b71222013-11-20 16:30:26 -080015}
16
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080017android {
Yigit Boyar02a9e8c2016-01-26 20:41:00 -080018 compileSdkVersion project.ext.currentSdk
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080019
Kirill Grouchnikov1d3991c2016-02-12 10:58:38 -080020 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080021 minSdkVersion 14
Kirill Grouchnikov1d3991c2016-02-12 10:58:38 -080022 }
23
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080024 sourceSets {
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -080025 main.java.srcDir 'src'
26 main.res.srcDir 'res'
27 main.assets.srcDir 'assets'
28 main.resources.srcDir 'src'
Yigit Boyar02a9e8c2016-01-26 20:41:00 -080029 }
Raphael Moll5057daa2013-10-29 17:01:14 -070030}
Xavier Ducrohet11b83982015-03-31 15:12:42 -070031
Xavier Ducrohet11b83982015-03-31 15:12:42 -070032uploadArchives {
33 repositories {
34 mavenDeployer {
35 repository(url: uri(rootProject.ext.supportRepoOut)) {
36 }
37
38 pom.project {
39 name 'Android Support Library v4'
40 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."
41 url 'http://developer.android.com/tools/extras/support-library.html'
42 inceptionYear '2011'
43
44 licenses {
45 license {
46 name 'The Apache Software License, Version 2.0'
47 url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
48 distribution 'repo'
49 }
50 }
51
52 scm {
53 url "http://source.android.com"
54 connection "scm:git:https://android.googlesource.com/platform/frameworks/support"
55 }
56 developers {
57 developer {
58 name 'The Android Open Source Project'
59 }
60 }
61 }
62 }
63 }
64}