- only download bullet when its supposed to be built

experimental
Normen Hansen 10 years ago
parent 00f12cfec7
commit ec183e1eea
  1. 8
      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
}
}
}

Loading…
Cancel
Save