diff options
author | Xavier Ducrohet <xav@google.com> | 2014-10-27 21:12:20 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@google.com> | 2014-10-28 09:51:52 -0700 |
commit | b98bb46334f2cead330588b9bc7c92361c54bb5b (patch) | |
tree | f29db613e732b13a8b3e35f74618db9decabab9e /library | |
parent | 6624fbd355c4b3c874bec920aab662b2056a7278 (diff) | |
download | multidex-b98bb46334f2cead330588b9bc7c92361c54bb5b.tar.gz |
Enable building the multi-dex libs for shipping.
This is mostly a copy of the support libs' gradle files,
in order to generate a support library that will contain
the current public versions + the new version being built.
Change-Id: I4937073909206653bd0ffd128694161cf59445a9
Diffstat (limited to 'library')
-rw-r--r-- | library/build.gradle | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/library/build.gradle b/library/build.gradle index 0fe5882..f04615d 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,6 +1,9 @@ apply plugin: 'android-library' +archivesBaseName = 'multidex' android { + compileSdkVersion 4 + sourceSets { main { java.srcDirs = ['src'] @@ -15,3 +18,37 @@ android { abortOnError false } } + +uploadArchives { + repositories { + mavenDeployer { + repository(url: uri(rootProject.ext.supportRepoOut)) { + } + + pom.project { + name 'Android Multi-Dex Library' + description "Library for legacy multi-dex support" + url '' + inceptionYear '2013' + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + scm { + url "http://source.android.com" + connection "scm:git:https://android.googlesource.com/platform/frameworks/multidex" + } + developers { + developer { + name 'The Android Open Source Project' + } + } + } + } + } +}
\ No newline at end of file |