bootstraponline | e891ed2 | 2015-02-20 14:25:26 -0500 | [diff] [blame] | 1 | apply plugin: 'com.github.dcendents.android-maven' |
| 2 | |
bootstraponline | e825f1b | 2015-03-12 13:17:48 -0400 | [diff] [blame] | 3 | project.ext.innerPom = { // used by mavenInstaller |
| 4 | project { |
| 5 | packaging 'aar' |
bootstraponline | a2706a2 | 2015-03-28 16:33:16 -0400 | [diff] [blame] | 6 | version ddVersion |
| 7 | groupId ddGroup |
| 8 | artifactId ddArtifactId |
bootstraponline | e891ed2 | 2015-02-20 14:25:26 -0500 | [diff] [blame] | 9 | |
bootstraponline | a2706a2 | 2015-03-28 16:33:16 -0400 | [diff] [blame] | 10 | name ddArtifactId |
| 11 | description ddDescription |
bootstraponline | e825f1b | 2015-03-12 13:17:48 -0400 | [diff] [blame] | 12 | url ddWebsite |
bootstraponline | e891ed2 | 2015-02-20 14:25:26 -0500 | [diff] [blame] | 13 | |
bootstraponline | e825f1b | 2015-03-12 13:17:48 -0400 | [diff] [blame] | 14 | licenses { |
| 15 | license { |
| 16 | name 'The Apache Software License, Version 2.0' |
| 17 | url 'http://www.apache.org/licenses/LICENSE-2.0.txt' |
bootstraponline | e891ed2 | 2015-02-20 14:25:26 -0500 | [diff] [blame] | 18 | } |
| 19 | } |
bootstraponline | e825f1b | 2015-03-12 13:17:48 -0400 | [diff] [blame] | 20 | |
bootstraponline | a2706a2 | 2015-03-28 16:33:16 -0400 | [diff] [blame] | 21 | developers { |
| 22 | developer { |
| 23 | name 'Kevin Jin' |
| 24 | organizationUrl 'https://github.com/ddkjin' |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | // http://central.sonatype.org/pages/requirements.html |
bootstraponline | e825f1b | 2015-03-12 13:17:48 -0400 | [diff] [blame] | 29 | scm { |
bootstraponline | a2706a2 | 2015-03-28 16:33:16 -0400 | [diff] [blame] | 30 | connection "scm:git:${ddGit}" |
| 31 | developerConnection "scm:git:${ddGit}" |
bootstraponline | e825f1b | 2015-03-12 13:17:48 -0400 | [diff] [blame] | 32 | url ddWebsite |
| 33 | } |
| 34 | |
| 35 | issueManagement { |
| 36 | url ddTracker |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | project.ext.pomXml = pom innerPom // used by mavenJava publication in artifactory |
| 42 | |
| 43 | install { |
| 44 | repositories.mavenInstaller { |
| 45 | // will not work with just pomXml |
| 46 | pom innerPom |
bootstraponline | e891ed2 | 2015-02-20 14:25:26 -0500 | [diff] [blame] | 47 | } |
| 48 | } |