1apply plugin: 'android-library' 2archivesBaseName = 'multidex-instrumentation' 3 4android { 5 compileSdkVersion 4 6 7 sourceSets { 8 main { 9 java.srcDirs = ['src'] 10 resources.srcDirs = ['res'] 11 res.srcDirs = ['src'] 12 manifest.srcFile 'AndroidManifest.xml' 13 } 14 } 15 16 lintOptions { 17 // TODO: fix errors and reenable. 18 abortOnError false 19 } 20} 21 22dependencies { 23 compile project(':library') 24} 25 26uploadArchives { 27 repositories { 28 mavenDeployer { 29 repository(url: uri(rootProject.ext.supportRepoOut)) { 30 } 31 32 pom.project { 33 name 'Android Multi-Dex Instrumentation Library' 34 description "Library for legacy multi-dex support" 35 url '' 36 inceptionYear '2013' 37 38 licenses { 39 license { 40 name 'The Apache Software License, Version 2.0' 41 url 'http://www.apache.org/licenses/LICENSE-2.0.txt' 42 distribution 'repo' 43 } 44 } 45 46 scm { 47 url "http://source.android.com" 48 connection "scm:git:https://android.googlesource.com/platform/frameworks/multidex" 49 } 50 developers { 51 developer { 52 name 'The Android Open Source Project' 53 } 54 } 55 } 56 } 57 } 58}