Hello,
I’d like to use Checkstyle to validate my sources’ copyright comment.
For this purpose, I’ll have to change the checkstyle task to apply to all sources instead of just the project’s java sources.
However, instead of changing my current checkstyle task to apply to all sources, I’d like to be able to create a new checkstyle task which would read a different checkstyle configuration and which I’d be able to run without running the usual checkstyle task. I.e., I’d like to be able to apply the checkstyle plugin twice with different configuration in the same project.
Is this currently possible via the Gradle build DSL? Or would I have to copy the checkstyle plugin to a new plugin and such?
Any advice would be much appreciated.
Thanks!