-
Notifications
You must be signed in to change notification settings - Fork 33
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 configuration cache #59
Comments
I must say I'm a bit surprised, because there's a test that should cover that: Line 170 in bac9e13
AFAICT, the main difference is that the test doesn't explicitly configure |
OK, finally understood what goes wrong: for some reason, the extension is (unexpectedly) not registered when the task is executed, so the This is unrelated to whether the build script explicitly configures the extension or not, and the reason the test didn't caught it is because it didn't actually re-run the task (it's up to date). |
I published v2.0.2 with that change. |
When using version 2.0.1 of the plugin with Gradle 7 (RC2) with
--configuration-cache
, the configuration cache can be created, but the project does not build when it is used. Key error message:> Extension with name 'errorprone' does not exist. Currently registered extension names: [ext]
Reproducer: https://github.com/C-Otto/playground/tree/errorprone-configuration-cache
Creating configuration cache (successful):
Second build, reusing configuration cache (fails):
The text was updated successfully, but these errors were encountered: