1apply plugin: 'android-library'
2archivesBaseName = 'multidex'
3
4android {
5    compileSdkVersion 4
6
7    sourceSets {
8        main {
9            java.srcDirs         = ['src']
10            resources.srcDirs    = ['res']
11            res.srcDirs          = ['src']
12            manifest.srcFile 'AndroidManifest.xml'
13        }
14    }
15
16    lintOptions {
17        // TODO: fix errors and reenable.
18        abortOnError false
19    }
20}
21
22uploadArchives {
23    repositories {
24        mavenDeployer {
25            repository(url: uri(rootProject.ext.supportRepoOut)) {
26            }
27
28            pom.project {
29                name 'Android Multi-Dex Library'
30                description "Library for legacy multi-dex support"
31                url ''
32                inceptionYear '2013'
33
34                licenses {
35                    license {
36                        name 'The Apache Software License, Version 2.0'
37                        url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
38                        distribution 'repo'
39                    }
40                }
41
42                scm {
43                    url "http://source.android.com"
44                    connection "scm:git:https://android.googlesource.com/platform/frameworks/multidex"
45                }
46                developers {
47                    developer {
48                        name 'The Android Open Source Project'
49                    }
50                }
51            }
52        }
53    }
54}