Slackbot
01/22/2024, 6:43 PMVampire
01/22/2024, 7:30 PMwar you marked is in Groovy DSL simply a reference to the task called war that in itself is also a CopySpec. So what you are after should be with(tasks.war.get())Darryl Miles
01/22/2024, 10:14 PMDarryl Miles
01/22/2024, 10:17 PMVampire
01/22/2024, 10:30 PMVampire
01/22/2024, 10:30 PMVampire
01/22/2024, 10:31 PMVampire
01/22/2024, 10:31 PMVampire
01/22/2024, 10:32 PMget() would be the same in Groovy DSL, if it were not too old and backwards compatible.Vampire
01/22/2024, 10:33 PMVampire
01/22/2024, 10:33 PMget() there you also break task-configuration avoidance for the war task now, but that's the price you have to pay in this specific case.