Does Kotlin DSL supports everything that groovy supports, so I can ditch groovy scripts altogether?
p
Pere Casafont
11/15/2018, 1:01 PM
it should, but good luck finding the equivalences
t
thanksforallthefish
11/15/2018, 1:08 PM
also having similar problem, there is guide to convert groovy gradle to kotlin gradle, but it is still an effort as most article around are groovy-based
d
Dias
11/15/2018, 2:07 PM
equivalences for what? plugins?
b
Bernhard
11/15/2018, 2:21 PM
yeah, documentation atm is terrible
➕ 2
but this affects the whole gradle docs
d
Dias
11/15/2018, 2:28 PM
if I have a plugin written in groovy for groovy based gradle script, can I still use it in kotlin based scripts?
c
cristiangm
11/15/2018, 2:30 PM
Yes, the only thing you should be careful in your groovy plugin is not to expose Groovy Closure and use Gradle Action instead ( so it's language agnostic )