Groovy extension methods in gradle plugin

I already have Kotlin extensions but those aren’t usable from Groovy :). I wanted to make the plugin as usable from Groovy as it is from Kotlin since Gradle supports both languages.