https://kotlinlang.org logo
#android
Title
# android
a

Andy Gibel

10/03/2019, 2:14 PM
is anyone using ErrorProne on mixed Java/Kotlin projects?
👌 3
For those 'yes' replies, how are you configuring your errorProne arguments in Groovy?
The docs are kind of confusing. The DSL looks great and all but I'm not using Kotlin gradle DSL yet
Specifically, the options.errorprone.errorproneArgs seems to now return a ListProperty<String>. I guess this is getting into a Groovy question now but the Errorprone gradle plugin is written in Kotlin 🙂
Ah got it. You have to explicitly call set on a Groovy "Property" and the fact that that is an incubating feature made this harder to track down lol
tldr; down with Groovy up with Kotlin
18 Views