Closed srs closed 5 years ago
@srs, possible it is better just to use Kotlin inside this plugin (instead of gradle)? Then plugin will work faster.
Moreover - key Groovy developer Cédric Champeau started to use Kotlin inside the Groovy build scripts - please check commit here.
Thanks @chrisgahlert and @imanushin. Will not do that. I am in the process of converting the plugin to use plain old Java. Just closing this issue.
Don't do that... I developed the Gradle plugin
gradle-dcompose-plugin
and started using@CompileStatic
in the beginning. This caused major problems, when the Groovy version, that this plugin was compiled with was used with older Groovy versions. Therefore this essentially broke my Gradle backwards compatibility, when different Gradle versions were using different versions of Groovy.My solution was to use
@TypeChecked
where appropriate.