BreadMoirai / github-release-gradle-plugin

A Gradle Plugin to send Releases to Github
Apache License 2.0
108 stars 26 forks source link

Fix configuration caching in GithubReleaseTask #42

Closed clayburn closed 2 years ago

clayburn commented 2 years ago

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