Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support gradle build cache #42

Open
sinwe opened this issue Mar 1, 2018 · 5 comments
Open

Support gradle build cache #42

sinwe opened this issue Mar 1, 2018 · 5 comments

Comments

@sinwe
Copy link

sinwe commented Mar 1, 2018

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.

@jacobilsoe
Copy link

Is this not the same as issue #21?

@sinwe
Copy link
Author

sinwe commented Mar 2, 2018

Perhaps. Not sure if #21 is related to gradle build cache

@jacobilsoe
Copy link

No, not specifically. It is more related to running scalastyle incrementally.

@sinwe
Copy link
Author

sinwe commented Mar 2, 2018

Then it is different issue

@dsilvasc
Copy link

dsilvasc commented May 8, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants