Browse Source

[Android] fix generateDevTemplate

thebestnom 4 năm trước cách đây
mục cha
commit
47bf216af9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")
     }