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
19dependencies {
20    compile project(':multidex')
21}
22
23android {
24    compileSdkVersion 4
25
26    defaultConfig {
27        minSdkVersion 4
28    }
29
30    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
45uploadArchives {
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    }
77}
78