From ec183e1eeaa44706ba8c6c78eebb23a7d7c7a139 Mon Sep 17 00:00:00 2001 From: Normen Hansen Date: Wed, 14 Jan 2015 00:11:21 +0100 Subject: [PATCH] - only download bullet when its supposed to be built --- jme3-bullet-native/build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jme3-bullet-native/build.gradle b/jme3-bullet-native/build.gradle index 93914ba16..b6304f0ff 100644 --- a/jme3-bullet-native/build.gradle +++ b/jme3-bullet-native/build.gradle @@ -132,9 +132,11 @@ unzipBullet.dependsOn { } compileJava.dependsOn { - def bulletUnzipDir = new File(project.projectDir.absolutePath + File.separator + bulletFolder) - if (!bulletUnzipDir.isDirectory()) { - unzipBullet + if(buildNativeProjects=="true"){ + def bulletUnzipDir = new File(project.projectDir.absolutePath + File.separator + bulletFolder) + if (!bulletUnzipDir.isDirectory()) { + unzipBullet + } } }