- only download bullet when its supposed to be built
This commit is contained in:
parent
00f12cfec7
commit
ec183e1eea
@ -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…
x
Reference in New Issue
Block a user