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

fix: improve gradle build cache stability #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simschla
Copy link

As I reported in #101 we have issues when using gradle remote build cache: Sometimes (not always) we get cache misses due to fingerprint differences for options.compilerArgumentProviders.errorprone$0 and options.compilerArgumentProviders.errorprone$0.errorproneOptions.

I was not very successful with debugging the issue (it is non-trivial). Using the changes in this PR, I am no longer seeing these fingerprint differences between CI and developer machines. It has been consistently working for us for the last 100+ builds.

Feel free to deny this PR or request more changes if you don't feel confident about it @tbroyer

by providing serializable objects attached to compileTasks
@simschla
Copy link
Author

simschla commented Nov 6, 2024

@tbroyer Anything else I can do on my side?

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

Successfully merging this pull request may close these issues.

1 participant