redrield
08/09/2018, 4:49 AMeskatos
08/09/2018, 9:20 AMeskatos
08/09/2018, 9:21 AM(dependencies as ExtensionAware).extra.properties
will get you the extra properties registered on dependencies
eskatos
08/09/2018, 9:21 AMeskatos
08/09/2018, 9:23 AMProject
but it shouldn’t matter.eskatos
08/09/2018, 9:36 AMdependencies {
val theClosure = (dependencies as ExtensionAware).extra["someName"] as groovy.lang.Closure<Any?>
theClosure("the", "arguments")
}