small changes to gradle, added api artifact
This commit is contained in:
parent
e57f1c1e85
commit
6cb9e50345
1 changed files with 17 additions and 1 deletions
18
build.gradle
18
build.gradle
|
@ -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' }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue