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
|
archives deobfJar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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("${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 {
|
repositories {
|
||||||
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