From 0c8177f1dbf17baba459ba3c2b530c288defeef3 Mon Sep 17 00:00:00 2001 From: Normen Hansen Date: Mon, 24 Mar 2014 00:06:58 +0100 Subject: [PATCH] delete library folders when cleaning SDK project --- sdk/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sdk/build.gradle b/sdk/build.gradle index 82e322802..c4a76e4b1 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -409,9 +409,15 @@ buildSdk.outputs.dir "build" task cleanSdk() <<{ ant.ant(dir: ".", antfile: "build.xml", target: "clean") + file("jme3-core-baselibs/release/").deleteDir() + file("jme3-core-libraries/release/").deleteDir() + file("jme3-project-baselibs/release/").deleteDir() + file("jme3-project-libraries/release/").deleteDir() + file("JME3TestsTemplate/src/jmetest/").deleteDir() + file("JME3TestsTemplateAndroid/src/jmetest/").deleteDir() } jar.dependsOn(buildSdk) clean.dependsOn(cleanSdk); - \ No newline at end of file +