Selaa lähdekoodia

[Android] fix generateDevTemplate

thebestnom 4 vuotta sitten
vanhempi
commit
0477256793
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      platform/android/java/build.gradle

+ 1 - 1
platform/android/java/build.gradle

@@ -112,7 +112,7 @@ task copyReleaseAARToBin(type: Copy) {
  * The zip file also includes some gradle tools to allow building of the custom build.
  */
 task zipCustomBuild(type: Zip) {
-    dependsOn ':generateGodotTemplates'
+    onlyIf { generateGodotTemplates.state.executed || generateDevTemplate.state.executed }
     doFirst {
         logger.lifecycle("Generating Godot custom build template")
     }