Browse Source

[Android] fix generateDevTemplate

(cherry picked from commit 04772567935d14a6568373f2f96bcff4c122d142)
thebestnom 4 years ago
parent
commit
8dc3d5eb7a
1 changed files with 1 additions and 1 deletions
  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")
     }