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 configuration caching in GithubReleaseTask #42

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

clayburn
Copy link
Contributor

This change removes the project property from GithubReleaseTask, as the Project is not serializable for Gradle's configuration caching. This also necessarily removes the @ExtensionClass annotation from the task, therefore removing the generated methods.

This change also removes a reference to the task's project in a log statement that breaks configuration caching.

See: Gradle Configuration Cache

This change removes the `project` property from `GithubReleaseTask`, as the Project is not serializable for Gradle's configuration caching. This also necessarily removes the `@ExtensionClass` annotation from the task, therefore removing the generated methods.

This change also removes a reference to the task's project in a log statement that breaks configuration caching.

See: [Gradle Configuration Cache](https://docs.gradle.org/current/userguide/configuration_cache.html)
@BreadMoirai BreadMoirai merged commit 189f2f8 into BreadMoirai:master Apr 18, 2022
@clayburn clayburn deleted the configuration-cache-fix branch April 19, 2022 00:25
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.

None yet

2 participants