This seems to cause uploadArchives to be called early

This commit is contained in:
Adubbz 2015-12-17 18:28:20 +11:00
parent c0f3b64b24
commit 8f85173164
1 changed files with 20 additions and 20 deletions

View File

@ -111,27 +111,27 @@ import groovy.io.FileType
uploadArchives {
dependsOn 'build'
//This is needed by the Groovy Postbuild to append labels for each build used in the changelog.
println "Output files:"
println "--------------------"
def list = []
def dir = new File("build/libs/")
if (dir.exists()) {
dir.eachFileRecurse (FileType.FILES) { file ->
//Add each file to the list
list << file
}
//Print the names of all of the output files
list.each {
println it.getName()
}
}
println "--------------------"
repositories {
//This is needed by the Groovy Postbuild to append labels for each build used in the changelog.
println "Output files:"
println "--------------------"
def list = []
def dir = new File("build/libs/")
if (dir.exists()) {
dir.eachFileRecurse (FileType.FILES) { file ->
//Add each file to the list
list << file
}
//Print the names of all of the output files
list.each {
println it.getName()
}
}
println "--------------------"
if (project.hasProperty("filesmaven")) {
logger.info('Publishing to files server')