- 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 { compileJava.dependsOn {
def bulletUnzipDir = new File(project.projectDir.absolutePath + File.separator + bulletFolder) if(buildNativeProjects=="true"){
if (!bulletUnzipDir.isDirectory()) { def bulletUnzipDir = new File(project.projectDir.absolutePath + File.separator + bulletFolder)
unzipBullet if (!bulletUnzipDir.isDirectory()) {
unzipBullet
}
} }
} }

Loading…
Cancel
Save