This commit is contained in:
Adubbz 2014-01-19 13:49:22 +11:00
parent a4aa18f0fc
commit a3c98b24da

View file

@ -16,6 +16,10 @@ buildscript {
}
}
configurations {
deployJars
}
apply plugin: "maven"
apply plugin: "forge"
@ -135,9 +139,9 @@ task deobfJar(type: Jar) {
}
artifacts {
archives sourceJar
archives deobfJar
archives apiJar
deployJars sourceJar
deployJars deobfJar
deployJars apiJar
}
uploadArchives {
@ -145,6 +149,8 @@ uploadArchives {
add getProject().repositories.mavenLocal()
}
repositories.mavenDeployer {
configuration = configurations.deployJars
if (project.hasProperty("filesmaven")) {
logger.info('Publishing to files server')
repository(url: project.filesmaven.url) {