This seems to cause uploadArchives to be called early
This commit is contained in:
parent
c0f3b64b24
commit
8f85173164
40
build.gradle
40
build.gradle
|
@ -111,27 +111,27 @@ import groovy.io.FileType
|
||||||
uploadArchives {
|
uploadArchives {
|
||||||
dependsOn 'build'
|
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 {
|
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")) {
|
if (project.hasProperty("filesmaven")) {
|
||||||
logger.info('Publishing to files server')
|
logger.info('Publishing to files server')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue