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