Merge pull request #67609 from m4gr3d/update_clean_task_3x
Update the `clean` task configuration
This commit is contained in:
commit
2342f174a4
1 changed files with 5 additions and 4 deletions
|
@ -281,6 +281,11 @@ task generateDevTemplate {
|
|||
finalizedBy 'zipCustomBuild'
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
dependsOn 'cleanGodotEditor'
|
||||
dependsOn 'cleanGodotTemplates'
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean the generated editor artifacts.
|
||||
*/
|
||||
|
@ -297,8 +302,6 @@ task cleanGodotEditor(type: Delete) {
|
|||
// Delete the Godot editor apks in the Godot bin directory
|
||||
delete("$binDir/android_editor.apk")
|
||||
delete("$binDir/android_editor_dev.apk")
|
||||
|
||||
finalizedBy getTasksByName("clean", true)
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -325,6 +328,4 @@ task cleanGodotTemplates(type: Delete) {
|
|||
delete("$binDir/godot-lib.debug.aar")
|
||||
delete("$binDir/godot-lib.dev.aar")
|
||||
delete("$binDir/godot-lib.release.aar")
|
||||
|
||||
finalizedBy getTasksByName("clean", true)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue