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

Configuration is evaluated on configuration time #17

Closed
janheinrichmerker opened this issue Mar 11, 2019 · 0 comments
Closed

Configuration is evaluated on configuration time #17

janheinrichmerker opened this issue Mar 11, 2019 · 0 comments

Comments

@janheinrichmerker
Copy link

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.

BreadMoirai added a commit that referenced this issue Mar 11, 2019
remote metaClass extensions and some unnecessary logging info
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

No branches or pull requests

2 participants