user
09/27/2017, 1:59 PMclosureOf or delegateClosureOf for some of those
you can also define the Closure in groovy and retrieve and use it like https://github.com/gradle/kotlin-dsl/blob/master/samples/groovy-interop/build.gradle.kts#L5
hopefully the dokka plugin is updated to accept Action<> types to get the kotlin-dsl goodness in the future