Modified Gradle build script to work with Jenkins

This commit is contained in:
NavidK0 2015-03-31 02:17:21 -04:00
parent 34c8bfb808
commit d384fb1215

View File

@ -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() file('libs').mkdirs()
//Retrieves spigot-1.8.jar server file from link //Retrieves spigot-1.8.jar server file from link