You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All new Gradle APIs declare an Action argument type rather than Closure, which makes it very easy to pick out the delegate type. Even older APIs have an Action variant in addition to the old Closure one
The text was updated successfully, but these errors were encountered:
Hi @vlsi thank you for the issue. I think it makes sense. Unfortunately, our priorities don't allow us to pick up this work at this moment. Would you be willing to provide a PR?
Sample:
gradle-ospackage-plugin/src/main/groovy/com/netflix/gradle/plugins/packaging/ProjectPackagingExtension.groovy
Lines 63 to 67 in c907bb2
It causes Kotlin DSL usages look awkward:
If the method was declared with
Action<CopySpec> c
, then both Groovy DSL and Kotlin DSL would be ok.See https://docs.gradle.org/current/userguide/groovy_build_script_primer.html#delegation
The text was updated successfully, but these errors were encountered: