From d45dba67cb8cb623e71c4e5ad4a03d25f31750a6 Mon Sep 17 00:00:00 2001 From: NavidK0 Date: Tue, 31 Mar 2015 04:58:33 -0400 Subject: [PATCH] Jenkins test --- build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.gradle b/build.gradle index 22defe5d..e7acf4dd 100644 --- a/build.gradle +++ b/build.gradle @@ -25,6 +25,19 @@ 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