- only download bullet when its supposed to be built

experimental
Normen Hansen 10 years ago
parent 00f12cfec7
commit ec183e1eea
  1. 2
      jme3-bullet-native/build.gradle

@ -132,10 +132,12 @@ unzipBullet.dependsOn {
} }
compileJava.dependsOn { compileJava.dependsOn {
if(buildNativeProjects=="true"){
def bulletUnzipDir = new File(project.projectDir.absolutePath + File.separator + bulletFolder) def bulletUnzipDir = new File(project.projectDir.absolutePath + File.separator + bulletFolder)
if (!bulletUnzipDir.isDirectory()) { if (!bulletUnzipDir.isDirectory()) {
unzipBullet unzipBullet
} }
}
} }
// Adds all available binaries to java jar task // Adds all available binaries to java jar task

Loading…
Cancel
Save