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

Problems with configuration caching caused by build-parameters plugin are fixed #57

Open
britter opened this issue Nov 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@britter
Copy link
Member

britter commented Nov 6, 2022

When building this project I frequently see the following log message:

❯ ./gradlew check
Configuration cache is an incubating feature.
Calculating task graph as configuration cache cannot be reused because an input to task ':plugins:build-parameters:jar' has changed.

What this means is that due to the application of the released build-parameters plugin to this project, the configuration cache can not be reused sometimes. It looks like the plugin we're building produces unstable outputs. Me first guess is that we're using collections that produce unstable outputs somewhere, e.g a HashMap.

@britter britter added the enhancement New feature or request label Nov 6, 2022
@britter britter added this to the 1.4 milestone Nov 6, 2022
@jjohannes
Copy link
Member

My first guess is that we're using collections that produce unstable outputs somewhere, e.g a HashMap.

... 🤔 But the code should not be regenerated. It should be UP-TO-DATE. Or do you also see the generation task running again even though you haven't changed anything in the parameter definition?

@britter britter removed this from the 1.4 milestone Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@britter @jjohannes and others