-
Notifications
You must be signed in to change notification settings - Fork 34
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
Gradle: support build cache #146
Comments
Hi, |
I started wondering whether forbidden-apis could be modified to run as a javac plugin so that it necessarily ran as part of producing the classfiles, which would then mean that the cache would only contain already-checked code. 🤔 |
FWIW, using 3.2, it is not my experience that these tasks are skipped when sources/classes do not change. That could be because I spawn multiple tasks rather than relying on the task created by the plugin. I added a "fake" output to work around this. I'll dig into your code and see how you configured that. |
Just changing outputs I gave the task worked. From
to
|
Please support Gradle build cache.
https://docs.gradle.org/current/userguide/build_cache.html#sec:task_output_caching_details
https://guides.gradle.org/using-build-cache/
The text was updated successfully, but these errors were encountered: