Still not working....

This commit is contained in:
Adubbz 2015-12-17 18:44:55 +11:00
parent 8f85173164
commit 26e4002b71
1 changed files with 24 additions and 20 deletions

View File

@ -100,18 +100,7 @@ task deobfJar(type: Jar) {
classifier = 'deobf' classifier = 'deobf'
} }
artifacts { task listOutputs << {
archives changelog.output
archives sourcesJar
archives deobfJar
}
import groovy.io.FileType
uploadArchives {
dependsOn 'build'
repositories {
//This is needed by the Groovy Postbuild to append labels for each build used in the changelog. //This is needed by the Groovy Postbuild to append labels for each build used in the changelog.
println "Output files:" println "Output files:"
println "--------------------" println "--------------------"
@ -131,7 +120,22 @@ uploadArchives {
} }
} }
println "--------------------" println "--------------------"
}
tasks.listOutputs.dependsOn('build')
artifacts {
archives changelog.output
archives sourcesJar
archives deobfJar
}
import groovy.io.FileType
uploadArchives {
dependsOn 'build'
repositories {
if (project.hasProperty("filesmaven")) { if (project.hasProperty("filesmaven")) {
logger.info('Publishing to files server') logger.info('Publishing to files server')