small changes to gradle, added api artifact

This commit is contained in:
modmuss50 2015-04-12 10:36:12 +01:00
parent e57f1c1e85
commit 6cb9e50345

View file

@ -92,9 +92,20 @@ jar {
classifier = 'universal' classifier = 'universal'
} }
task apiZip(type: Zip) {
from(sourceSets.main.java) {
include 'techreborn/api/**'
appendix = 'api'
classifier = "api"
}
}
apiZip.mustRunAfter deobfJar
artifacts { artifacts {
archives sourceJar archives sourceJar
archives deobfJar archives deobfJar
archives apiZip
} }
uploadArchives { uploadArchives {
@ -122,7 +133,7 @@ uploadArchives {
licenses { licenses {
license { license {
name 'License' name 'License'
url 'https://github.com/TechReborn/TechReborn/blob/master/LICENSE' url 'https://raw.githubusercontent.com/TechReborn/TechReborn/master/LICENSE.md'
distribution 'repo' distribution 'repo'
} }
} }
@ -132,6 +143,11 @@ uploadArchives {
name 'modmuss50' name 'modmuss50'
roles { role 'developer' } roles { role 'developer' }
} }
developer {
id 'Gigabit101'
name 'Gigabit101'
roles { role 'Gigabit101' }
}
} }
} }
} }