|
@@ -40,7 +40,7 @@ task copyTremorFiles(type: Copy) {
|
|
|
include '*.c'
|
|
|
include '*.h'
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
into outputDir
|
|
|
}
|
|
|
|
|
@@ -85,7 +85,7 @@ task copyPreCompiledLibs(type: Copy) {
|
|
|
into outputDir
|
|
|
}
|
|
|
|
|
|
-if (rootProject.ndkExists) {
|
|
|
+if (rootProject.ndkExists && rootProject.buildNativeProjects) {
|
|
|
// build native libs and update stored pre-compiled libs to commit
|
|
|
compileJava.dependsOn { updatePreCompiledLibs }
|
|
|
} else {
|