Modified Gradle build script to work with Jenkins
This commit is contained in:
parent
34c8bfb808
commit
d384fb1215
13
build.gradle
13
build.gradle
@ -25,19 +25,6 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.build.doLast {
|
||||
File export = file('build/libs/LibsDisguises.jar')
|
||||
File dest = file('dist')
|
||||
dest.mkdir()
|
||||
dest.listFiles().each {
|
||||
it.delete()
|
||||
}
|
||||
export.renameTo(new File(dest, "LibsDisguises.jar"))
|
||||
file('build').delete()
|
||||
println "Copied LibsDisguises.jar into /dist"
|
||||
println "LibsDisguises is finished compiling, have a nice day!"
|
||||
}
|
||||
|
||||
file('libs').mkdirs()
|
||||
|
||||
//Retrieves spigot-1.8.jar server file from link
|
||||
|
Loading…
Reference in New Issue
Block a user