blob: b9e9c691ee8da1a237b61ccd5aa6439f5054d47c [file] [log] [blame]
bootstraponlinee891ed22015-02-20 14:25:26 -05001apply plugin: 'com.github.dcendents.android-maven'
2
bootstraponlinee825f1b2015-03-12 13:17:48 -04003project.ext.innerPom = { // used by mavenInstaller
4 project {
5 packaging 'aar'
bootstraponlinea2706a22015-03-28 16:33:16 -04006 version ddVersion
7 groupId ddGroup
8 artifactId ddArtifactId
bootstraponlinee891ed22015-02-20 14:25:26 -05009
bootstraponlinea2706a22015-03-28 16:33:16 -040010 name ddArtifactId
11 description ddDescription
bootstraponlinee825f1b2015-03-12 13:17:48 -040012 url ddWebsite
bootstraponlinee891ed22015-02-20 14:25:26 -050013
bootstraponlinee825f1b2015-03-12 13:17:48 -040014 licenses {
15 license {
16 name 'The Apache Software License, Version 2.0'
17 url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
bootstraponlinee891ed22015-02-20 14:25:26 -050018 }
19 }
bootstraponlinee825f1b2015-03-12 13:17:48 -040020
bootstraponlinea2706a22015-03-28 16:33:16 -040021 developers {
22 developer {
23 name 'Kevin Jin'
24 organizationUrl 'https://github.com/ddkjin'
25 }
26 }
27
28 // http://central.sonatype.org/pages/requirements.html
bootstraponlinee825f1b2015-03-12 13:17:48 -040029 scm {
bootstraponlinea2706a22015-03-28 16:33:16 -040030 connection "scm:git:${ddGit}"
31 developerConnection "scm:git:${ddGit}"
bootstraponlinee825f1b2015-03-12 13:17:48 -040032 url ddWebsite
33 }
34
35 issueManagement {
36 url ddTracker
37 }
38 }
39}
40
41project.ext.pomXml = pom innerPom // used by mavenJava publication in artifactory
42
43install {
44 repositories.mavenInstaller {
45 // will not work with just pomXml
46 pom innerPom
bootstraponlinee891ed22015-02-20 14:25:26 -050047 }
48}