mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
Merge pull request #54155 from madmiraal/fix-54091
Fix Gradle builds not excluding excluded tasks
This commit is contained in:
commit
aec383a83e
@ -158,9 +158,9 @@ def templateBuildTasks() {
|
||||
/**
|
||||
* Master task used to coordinate the tasks defined above to generate the set of Godot templates.
|
||||
*/
|
||||
task generateGodotTemplates(type: GradleBuild) {
|
||||
startParameter.excludedTaskNames = templateExcludedBuildTask()
|
||||
tasks = templateBuildTasks()
|
||||
task generateGodotTemplates {
|
||||
gradle.startParameter.excludedTaskNames += templateExcludedBuildTask()
|
||||
dependsOn = templateBuildTasks()
|
||||
|
||||
finalizedBy 'zipCustomBuild'
|
||||
}
|
||||
@ -168,12 +168,12 @@ task generateGodotTemplates(type: GradleBuild) {
|
||||
/**
|
||||
* Generates the same output as generateGodotTemplates but with dev symbols
|
||||
*/
|
||||
task generateDevTemplate (type: GradleBuild) {
|
||||
task generateDevTemplate {
|
||||
// add parameter to set symbols to true
|
||||
startParameter.projectProperties += [doNotStrip: true]
|
||||
gradle.startParameter.projectProperties += [doNotStrip: true]
|
||||
|
||||
startParameter.excludedTaskNames = templateExcludedBuildTask()
|
||||
tasks = templateBuildTasks()
|
||||
gradle.startParameter.excludedTaskNames += templateExcludedBuildTask()
|
||||
dependsOn = templateBuildTasks()
|
||||
|
||||
finalizedBy 'zipCustomBuild'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user