blob: 51d1a340d0f0a5feb5bb874449c30c80df95ac53 [file] [log] [blame]
Alan Viverette05f668c2017-02-03 16:54:44 -05001/*
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'
Justin Moreyda744112014-01-08 15:06:43 -060018
19android {
Xavier Ducrohetb98bb462014-10-27 21:12:20 -070020 compileSdkVersion 4
21
Alan Viverette05f668c2017-02-03 16:54:44 -050022 defaultConfig {
23 minSdkVersion 4
Alan Viverette05f668c2017-02-03 16:54:44 -050024 }
25
Yohann Roussel78dfa212018-01-24 18:17:27 +010026 compileOptions {
27 sourceCompatibility JavaVersion.VERSION_1_7
28 targetCompatibility JavaVersion.VERSION_1_7
29 }
30
Justin Moreyda744112014-01-08 15:06:43 -060031 sourceSets {
32 main {
33 java.srcDirs = ['src']
34 resources.srcDirs = ['res']
35 res.srcDirs = ['src']
36 manifest.srcFile 'AndroidManifest.xml'
37 }
38 }
Justin Morey87fb5742014-01-30 19:52:52 -060039
40 lintOptions {
41 // TODO: fix errors and reenable.
42 abortOnError false
43 }
Justin Moreyda744112014-01-08 15:06:43 -060044}
Xavier Ducrohetb98bb462014-10-27 21:12:20 -070045
46uploadArchives {
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 Viverette05f668c2017-02-03 16:54:44 -050078}