1: It would be better to depend on compileJava rather than classes:
2: It's easier to compose tasks in custom plugins if the tasks don't automatically create dependencies. Probably the JSweetPlugin should add the dependency, rather than the task constructor.
Minor feedback on this snippet.
1: It would be better to depend on
compileJava
rather thanclasses
:2: It's easier to compose tasks in custom plugins if the tasks don't automatically create dependencies. Probably the
JSweetPlugin
should add the dependency, rather than the task constructor.