This commit is contained in:
Adubbz 2014-01-19 13:43:33 +11:00
parent ea5b9a3bc7
commit a4aa18f0fc

View file

@ -16,14 +16,6 @@ buildscript {
}
}
configurations {
deployJars {
archives sourceJar
archives deobfJar
archives apiJar
}
}
apply plugin: "maven"
apply plugin: "forge"
@ -142,13 +134,17 @@ task deobfJar(type: Jar) {
appendix = 'deobf'
}
artifacts {
archives sourceJar
archives deobfJar
archives apiJar
}
uploadArchives {
repositories {
add getProject().repositories.mavenLocal()
}
repositories.mavenDeployer {
configuration = configurations.deployJars
if (project.hasProperty("filesmaven")) {
logger.info('Publishing to files server')
repository(url: project.filesmaven.url) {