Join Slack
Powered by
This message was deleted.
# community-support
s
Slackbot
10/27/2022, 8:34 AM
This message was deleted.
e
ephemient
10/27/2022, 8:57 AM
your task can remove old files from its output directory. either by using
https://docs.gradle.org/current/userguide/custom_tasks.html#incremental_tasks
or just wiping everything out before generating new output files
g
Giuseppe Barbieri
10/27/2022, 8:57 AM
what would you suggest?
e
ephemient
10/27/2022, 9:54 AM
depends on your task. clearing output is easy. incremental might or might not be
g
Giuseppe Barbieri
10/27/2022, 11:19 AM
I'd opt for clearing the output first then. What's the best way to do it?
doFirst
on the task itself?
2
Views
Open in Slack
Previous
Next