gradle-scalastyle-plugin
gradle-scalastyle-plugin copied to clipboard
Support gradle build cache
When a particular module doesn't have any modified source code, there is no need to run scalastyle on that module. Gradle already have build cache for this. Could this plugin leverage on that cache? It will greatly reduce our total build time.
Is this not the same as issue #21?
Perhaps. Not sure if #21 is related to gradle build cache
No, not specifically. It is more related to running scalastyle incrementally.
Then it is different issue
Right, it's different. See this example output:
> Task :...:scalaStyle UP-TO-DATE
Build cache key for task ':...:scalaStyle' is 364ed5531f68bcb2bc56e4b1543c8547
Caching disabled for task ':...:scalaStyle': Caching has not been enabled for the task
Skipping task ':...:scalaStyle' as it is up-to-date.
:..:scalaStyle (Thread[Task worker for ':' Thread 3,5,main]) completed. Took 0.001 secs.