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