- only download bullet when its supposed to be built

This commit is contained in:
Normen Hansen 2015-01-14 00:11:21 +01:00
parent 00f12cfec7
commit ec183e1eea

View File

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