I'm trying to translate an existing Gradle plugin to Kotlin (well, several related plugins, actually). They include methods which take Groovy Closure objects. How can I call such a method from elsewhere in Kotlin? Do I need to overload such methods with versions which use Gradle's Action<T> interface, and pass Kotlin lambdas to that? I'm not sure that can work, given that some of the Closures expect multiple arguments. Or is there some way to wrap a Kotlin lambda / anonymous fun as a Closure?