BreadMoirai / github-release-gradle-plugin

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

Configuration is evaluated on configuration time #17

Closed janheinrichmerker closed 5 years ago

janheinrichmerker commented 5 years ago

The plugin configuration is evaluated at compile time, not when the task is run.\ This happens because the setOrElse(...) calls in the plugin class evaluate the otherwise lazily loaded properties.

I consider this a bug, given that the plugin supports configuring each property using lazy providers. It is especially annoying when running other Gradle tasks, which would then directly trigger issue #16.