This message was deleted.
# community-support
s
This message was deleted.
v
My recommendation would be to not generate into the source tree, but into the
layout.buildDirectory
, then the
clean
task already deletes the files without a need for the specific clean task.
i
That indeed seems sensible, but sadly I'm configuring a task for a third-party plugin which doesn't let me decide where the files are generated. I'm adding
inputs
and
outputs
to get caching
v
I see. You could configure the
clean
task to delete that directory, or you can add that dependency, it's probably both ok in that situation.