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

Support Gradle configuration cache #120

Closed
wants to merge 1 commit into from
Closed

Support Gradle configuration cache #120

wants to merge 1 commit into from

Conversation

joshschriever
Copy link
Collaborator

📌 References

🥅 What is the goal?

💻 How is it implemented?

  • With the latest Gradle version, the only change required to support configuration caching was fixing a problem with deserializing sealed class types used as task inputs. Gradle uses its own serialization model for configuration caching, and for some reason, sealed class object subtypes were getting deserialized as some instance of the object. The fix was just to always use is checks instead of == or the implicit === used is when statements.

@joshschriever joshschriever deleted the updates branch May 8, 2023 20:18
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.

Support configuration caching
1 participant