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'
}
artifacts {
archives changelog.output
archives sourcesJar
archives deobfJar
}
import groovy.io.FileType
uploadArchives {
dependsOn 'build'
repositories {
task listOutputs << {
//This is needed by the Groovy Postbuild to append labels for each build used in the changelog.
println "Output files:"
println "--------------------"
@ -131,7 +120,22 @@ uploadArchives {
}
}
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")) {
logger.info('Publishing to files server')