-
Notifications
You must be signed in to change notification settings - Fork 15
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
Patch DSL: support patching multiple modules with one statement #127
Comments
If patching for OS specific artifacts is a common use case, maybe we can come up with an even more compat way of declaring just that in addition. |
Not sure what can be more specific, but happy to discuss. Although that would be a separate issue. This one is about the |
Just realized that this signature is (of course) not possible in Java:
Lets think about this a bit more. You can already do something like this today with standard Kotlin/Groovy notations:
|
If you want to have varargs the only way I see to get this working would be a method chain like the following:
The
But this would just wrap around a forEach call and would spare you from writing |
Lets not do this now. I would prefer not to overload the DSL unless there is a really clean DSL concept (and not a technical API). |
Should be able to write:
The text was updated successfully, but these errors were encountered: