Slackbot
01/21/2023, 1:29 PMVampire
01/21/2023, 3:10 PMChristoph Loy
01/21/2023, 3:13 PMPathSensitivity.NONE
really does not play well with TextResource
Vampire
01/21/2023, 3:20 PMChristoph Loy
01/21/2023, 3:21 PMVampire
01/21/2023, 3:24 PMtemporaryDir
of the task, or copying to layout.buildDirectory
.
Changing those annotations of an existing task is not trivial afair.
I'm not 100% sure, you might try to subclass the task and override the property in question.
If that does not work, you might only have the choice to monkey-patch the task class by copying it to your buildSrc
and fixing what you need to, adding some mechanism to make sure you remember to update that file when you change the plugin version.
buildSrc
classes are in a class loader above the project classpath class loaders so classes in it will be preferredely used.Christoph Loy
01/21/2023, 3:26 PM