Skip to content

Latest commit

 

History

History
 
 

groovy-interop

groovy-interop

This sample demonstrates how to interact with Groovy code from Kotlin.

The Kotlin build script applies a Groovy build script which then exposes a Closure as an extra project property.

The exposed Closure is imported in Kotlin as a delegated property and invoked by the registered Kotlin tasks.