Slackbot
06/22/2023, 3:55 AMVampire
06/22/2023, 6:53 AMAdam
06/22/2023, 7:18 AMAnze Sodja
06/23/2023, 10:19 AMbuild/<task-name>/ , but in some cases that is harder if task name is very generic.
But generally a good advice is: don't put outputs to a shared/common folders since that won't work ok with up-to-date checks.
I believe we won't go in the direction of some constants, since that will probably mean, users will put outputs for a lot of tasks to the same folder and that doesn't work well with up-to-date checks.
We have some ideas that Gradle would automatically assign output location and user would need to wire outputs of one task to another input via a property, something like Adam mentioned (and what is actually a proper way). Or at least have an annotation that would mean that Gradle should automatically assign an output. But there is nothing more than ideas at the moment for such feature and we don't have any actual plans for it.Eli Graber
06/23/2023, 3:11 PMbuild/generated/<my namespace> would be ok but /build/generated would not?Vampire
06/23/2023, 3:14 PMbuild/generated/<your namespace> but then apply some plugin which thinks it is a good idea to define the whole build/generated as output directory, you are in trouble again.Vampire
06/23/2023, 3:15 PMEli Graber
06/23/2023, 3:18 PMVampire
06/23/2023, 3:20 PMEli Graber
06/23/2023, 3:24 PM