mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-05 10:29:39 +01:00
Ported: Update the clean task configuration
Running `gradlew clean` will now properly delete the generated build artifacts
- m4gr3d
71c76a4ff2
This commit is contained in:
parent
91624a7561
commit
1875780dbe
@ -267,6 +267,11 @@ task generatePandemoniumTemplates {
|
|||||||
finalizedBy 'zipCustomBuild'
|
finalizedBy 'zipCustomBuild'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task clean(type: Delete) {
|
||||||
|
dependsOn 'cleanPandemoniumEditor'
|
||||||
|
dependsOn 'cleanPandemoniumTemplates'
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates the same output as generatePandemoniumTemplates but with dev symbols
|
* Generates the same output as generatePandemoniumTemplates but with dev symbols
|
||||||
*/
|
*/
|
||||||
@ -296,8 +301,6 @@ task cleanPandemoniumEditor(type: Delete) {
|
|||||||
// Delete the Pandemonium editor apks in the Pandemonium bin directory
|
// Delete the Pandemonium editor apks in the Pandemonium bin directory
|
||||||
delete("$binDir/android_editor.apk")
|
delete("$binDir/android_editor.apk")
|
||||||
delete("$binDir/android_editor_dev.apk")
|
delete("$binDir/android_editor_dev.apk")
|
||||||
|
|
||||||
finalizedBy getTasksByName("clean", true)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -324,6 +327,4 @@ task cleanPandemoniumTemplates(type: Delete) {
|
|||||||
delete("$binDir/pandemonium-lib.debug.aar")
|
delete("$binDir/pandemonium-lib.debug.aar")
|
||||||
delete("$binDir/pandemonium-lib.dev.aar")
|
delete("$binDir/pandemonium-lib.dev.aar")
|
||||||
delete("$binDir/pandemonium-lib.release.aar")
|
delete("$binDir/pandemonium-lib.release.aar")
|
||||||
|
|
||||||
finalizedBy getTasksByName("clean", true)
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user