I assume I can write a Gradle plugin in Kotlin? I notice the
KotlinBasePluginWrapper
is in Kotlin but obviously the majority of plugins are Groovy.
Are there any gotchas? Specifically around the fact that I assume Kotlin is already in the classpath in Gradle due to the DSL? Are there any lightweight examples of how to set up a project for this?