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

Ungradlefy the Groovy DSL mixin of public types #153

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

lacasseio
Copy link
Member

As we are moving away from dynamic instantiation, we need to manually
mixin the Groovy DSL methods inside the public types. It can be
perceived as unecessary or going against idiomatic Gradle but is in fact
much better this way as IDEs will have better auto-complete as well as
eliminating a whole class of errors because of the dynamic
instantiation.

@lacasseio lacasseio added this to the 0.5 milestone Sep 14, 2020
@lacasseio lacasseio self-assigned this Sep 14, 2020
@lacasseio lacasseio force-pushed the lacasseio/breakdown/ungradlefy-groovy-dsl-mixin branch from e4ba997 to 303a899 Compare September 14, 2020 14:46
As we are moving away from dynamic instantiation, we need to manually
mixin the Groovy DSL methods inside the public types. It can be
perceived as unecessary or going against idiomatic Gradle but is in fact
much better this way as IDEs will have better auto-complete as well as
eliminating a whole class of errors because of the dynamic
instantiation.
@lacasseio lacasseio force-pushed the lacasseio/breakdown/ungradlefy-groovy-dsl-mixin branch from 303a899 to f6c4b21 Compare September 14, 2020 18:21
@lacasseio lacasseio merged commit d7f7b59 into master Sep 15, 2020
@lacasseio lacasseio deleted the lacasseio/breakdown/ungradlefy-groovy-dsl-mixin branch September 15, 2020 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant