blob: 1e6fd98dd1e94f1a12d65fb05c0a2a15e245494c [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'
18
19dependencies {
Aurimas Liutikaseadfa6d2017-05-01 14:53:18 -070020 compile project(':multidex')
Alan Viverette05f668c2017-02-03 16:54:44 -050021}
Xavier Ducrohetb98bb462014-10-27 21:12:20 -070022
23android {
24 compileSdkVersion 4
25
Alan Viverette05f668c2017-02-03 16:54:44 -050026 defaultConfig {
27 minSdkVersion 4
28 }
29
Xavier Ducrohetb98bb462014-10-27 21:12:20 -070030 sourceSets {
31 main {
32 java.srcDirs = ['src']
33 resources.srcDirs = ['res']
34 res.srcDirs = ['src']
35 manifest.srcFile 'AndroidManifest.xml'
36 }
37 }
38
39 lintOptions {
40 // TODO: fix errors and reenable.
41 abortOnError false
42 }
43}
44
Xavier Ducrohetb98bb462014-10-27 21:12:20 -070045uploadArchives {
46 repositories {
47 mavenDeployer {
48 repository(url: uri(rootProject.ext.supportRepoOut)) {
49 }
50
51 pom.project {
52 name 'Android Multi-Dex Instrumentation Library'
53 description "Library for legacy multi-dex support"
54 url ''
55 inceptionYear '2013'
56
57 licenses {
58 license {
59 name 'The Apache Software License, Version 2.0'
60 url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
61 distribution 'repo'
62 }
63 }
64
65 scm {
66 url "http://source.android.com"
67 connection "scm:git:https://android.googlesource.com/platform/frameworks/multidex"
68 }
69 developers {
70 developer {
71 name 'The Android Open Source Project'
72 }
73 }
74 }
75 }
76 }
Alan Viverette05f668c2017-02-03 16:54:44 -050077}