From b98bb46334f2cead330588b9bc7c92361c54bb5b Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Mon, 27 Oct 2014 21:12:20 -0700 Subject: 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 --- instrumentation/AndroidManifest.xml | 1 + instrumentation/build.gradle | 58 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 instrumentation/build.gradle (limited to 'instrumentation') diff --git a/instrumentation/AndroidManifest.xml b/instrumentation/AndroidManifest.xml index f29fe15..c3ac899 100644 --- a/instrumentation/AndroidManifest.xml +++ b/instrumentation/AndroidManifest.xml @@ -16,4 +16,5 @@ + diff --git a/instrumentation/build.gradle b/instrumentation/build.gradle new file mode 100644 index 0000000..15ea3e8 --- /dev/null +++ b/instrumentation/build.gradle @@ -0,0 +1,58 @@ +apply plugin: 'android-library' +archivesBaseName = 'multidex-instrumentation' + +android { + compileSdkVersion 4 + + sourceSets { + main { + java.srcDirs = ['src'] + resources.srcDirs = ['res'] + res.srcDirs = ['src'] + manifest.srcFile 'AndroidManifest.xml' + } + } + + lintOptions { + // TODO: fix errors and reenable. + abortOnError false + } +} + +dependencies { + compile project(':library') +} + +uploadArchives { + repositories { + mavenDeployer { + repository(url: uri(rootProject.ext.supportRepoOut)) { + } + + pom.project { + name 'Android Multi-Dex Instrumentation 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 -- cgit v1.2.3