1/* 2 * Copyright (C) 2017 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17apply plugin: 'com.android.library' 18 19android { 20 compileSdkVersion 4 21 22 defaultConfig { 23 minSdkVersion 4 24 25 // Update the version meta-data in Manifest. 26 addManifestPlaceholders(["multidex-version": project.rootProject.ext.multidexVersion]) 27 } 28 29 sourceSets { 30 main { 31 java.srcDirs = ['src'] 32 resources.srcDirs = ['res'] 33 res.srcDirs = ['src'] 34 manifest.srcFile 'AndroidManifest.xml' 35 } 36 } 37 38 lintOptions { 39 // TODO: fix errors and reenable. 40 abortOnError false 41 } 42} 43 44uploadArchives { 45 repositories { 46 mavenDeployer { 47 repository(url: uri(rootProject.ext.supportRepoOut)) { 48 } 49 50 pom.project { 51 name 'Android Multi-Dex Library' 52 description "Library for legacy multi-dex support" 53 url '' 54 inceptionYear '2013' 55 56 licenses { 57 license { 58 name 'The Apache Software License, Version 2.0' 59 url 'http://www.apache.org/licenses/LICENSE-2.0.txt' 60 distribution 'repo' 61 } 62 } 63 64 scm { 65 url "http://source.android.com" 66 connection "scm:git:https://android.googlesource.com/platform/frameworks/multidex" 67 } 68 developers { 69 developer { 70 name 'The Android Open Source Project' 71 } 72 } 73 } 74 } 75 } 76} 77