Alan Viverette | 05f668c | 2017-02-03 16:54:44 -0500 | [diff] [blame] | 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 | |
| 17 | apply plugin: 'com.android.library' |
Justin Morey | da74411 | 2014-01-08 15:06:43 -0600 | [diff] [blame] | 18 | |
| 19 | android { |
Xavier Ducrohet | b98bb46 | 2014-10-27 21:12:20 -0700 | [diff] [blame] | 20 | compileSdkVersion 4 |
| 21 | |
Alan Viverette | 05f668c | 2017-02-03 16:54:44 -0500 | [diff] [blame] | 22 | defaultConfig { |
| 23 | minSdkVersion 4 |
Alan Viverette | 05f668c | 2017-02-03 16:54:44 -0500 | [diff] [blame] | 24 | } |
| 25 | |
Justin Morey | da74411 | 2014-01-08 15:06:43 -0600 | [diff] [blame] | 26 | sourceSets { |
| 27 | main { |
| 28 | java.srcDirs = ['src'] |
| 29 | resources.srcDirs = ['res'] |
| 30 | res.srcDirs = ['src'] |
| 31 | manifest.srcFile 'AndroidManifest.xml' |
| 32 | } |
| 33 | } |
Justin Morey | 87fb574 | 2014-01-30 19:52:52 -0600 | [diff] [blame] | 34 | |
| 35 | lintOptions { |
| 36 | // TODO: fix errors and reenable. |
| 37 | abortOnError false |
| 38 | } |
Justin Morey | da74411 | 2014-01-08 15:06:43 -0600 | [diff] [blame] | 39 | } |
Xavier Ducrohet | b98bb46 | 2014-10-27 21:12:20 -0700 | [diff] [blame] | 40 | |
| 41 | uploadArchives { |
| 42 | repositories { |
| 43 | mavenDeployer { |
| 44 | repository(url: uri(rootProject.ext.supportRepoOut)) { |
| 45 | } |
| 46 | |
| 47 | pom.project { |
| 48 | name 'Android Multi-Dex Library' |
| 49 | description "Library for legacy multi-dex support" |
| 50 | url '' |
| 51 | inceptionYear '2013' |
| 52 | |
| 53 | licenses { |
| 54 | license { |
| 55 | name 'The Apache Software License, Version 2.0' |
| 56 | url 'http://www.apache.org/licenses/LICENSE-2.0.txt' |
| 57 | distribution 'repo' |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | scm { |
| 62 | url "http://source.android.com" |
| 63 | connection "scm:git:https://android.googlesource.com/platform/frameworks/multidex" |
| 64 | } |
| 65 | developers { |
| 66 | developer { |
| 67 | name 'The Android Open Source Project' |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | } |
Alan Viverette | 05f668c | 2017-02-03 16:54:44 -0500 | [diff] [blame] | 73 | } |