Closed
Description
Hello!
I'm trying to create a custom spotless task that only acts on files changed in git. I would also like the option to act on all files, so ideally I would have two separate tasks. For example, spotlessJavaCheck
should check the pattern **/*.java
, while spotlessChangedCheck
should check only the files changed in git.
I've already written a function in the build script which identifies the changed files, and I would like to set the spotless target to these files.
Any advice?