Attempting to fix changelogs
This commit is contained in:
parent
0314c2a42a
commit
c2ba2f6402
19
build.gradle
19
build.gradle
|
@ -106,9 +106,28 @@ artifacts {
|
|||
archives deobfJar
|
||||
}
|
||||
|
||||
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("${WORKSPACE}/build/libs")
|
||||
dir.eachFileRecurse (FileType.FILES) { file ->
|
||||
//Add each file to the list
|
||||
list << file
|
||||
}
|
||||
|
||||
//Print the names of all of the files
|
||||
list.each {
|
||||
println it.getName()
|
||||
}
|
||||
println "--------------------"
|
||||
|
||||
repositories {
|
||||
if (project.hasProperty("filesmaven")) {
|
||||
logger.info('Publishing to files server')
|
||||
|
|
Loading…
Reference in New Issue