api / org.gradle.kotlin.dsl / KotlinClosure0 / <init>

<init>

KotlinClosure0(function: () -> V?, owner: Any? = null, thisObject: Any? = null)

Adapts a parameterless Kotlin function to a parameterless Groovy Closure.

Parameters

V - the return type.

function - the function to be adapted.

owner - optional owner of the Closure.

thisObject - optional this Object of the Closure.

See Also

Closure