-
Notifications
You must be signed in to change notification settings - Fork 13
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
Configuration cache support #109
Comments
It's not clear to me what this issue is. Is this a bug causing Gradle to fail? Is this a feature request for an invocation or configuration style that does not currently work? |
It is a feature request. Configuration cache is a new feature in gradle that speeds up the configuration phase of the build by caching it. However, it requires plugin authors to restrict some actions, like accessing Task.project at execution time. The lack of configuration cache does not cause gradle to fail, but it causes it to become (significanly) slower, because even if a single plugin fails to adhere to the rules, the whole cache is invalidated (alternatively, you can mark to ignore the failure to adhere of a plugin). More details here: https://blog.gradle.org/introducing-configuration-caching. |
This is now a blocker for us, so I'll try to provide a fix PR. I have a PoC ready, let's see if I'll be able to make a nice PR and fix all corner cases. |
PR prepared: #206. |
See
Invocation of 'Task.project' by task ':bufFormatApply' at execution time is unsupported.
Check https://docs.gradle.org/current/userguide/configuration_cache.html for details.
The text was updated successfully, but these errors were encountered: