Some feedback having used the Kotlin DSL for a whi...
# gradle
b
Some feedback having used the Kotlin DSL for a while: it's very easy to migrate boilerplate applications, but if you use any kind of plugin the process is very cumbersome. I recently wanted to use the
org.jetbrains.gradle.plugin.idea-ext
plugin, which required a bunch of trial and error to translate (and the result does not look very natural). Are plugin authors expected to make their API Kotlin DSL friendly, or is there some kind of migration process planned? This was the result: https://github.com/acejump/AceJump/blob/6d06723fc5f590e0b75ea78d260c7f23bc3b87aa/build.gradle.kts#L28:L41
g
use any kind of plugin the process is very cumbersome
Not any kind, most of plugins work without such problems. But if plugin uses ExtensionsAware, Conventions or dynamic Groovy features such as propertyMissing() it can be unfortunately not so pleasant, like in this case