Hello, in a gradle plugin written for Android, I’v...
# gradle
g
Hello, in a gradle plugin written for Android, I’ve got a line like this: variants = project.android.applicationVariants. How do I translate the dynamic access to the variable ‘.android.applicationVariants’ in kotlin?
t
I have a few plugins all in kotlin that interact with the android gradle plugin. https://github.com/trevjonez
if you didn't figure some stuff out. probably some stuff I could do better in there, but it works.
g
Thanks I will check out your plugins!
@trevjones I see you didn’t switch to the kotlin-dsl yet in your plugins, would you say it’s still too early to do so?
t
I have yet to be motivated to do it as the last I checked android studio still can't handle it
👍 1
hell android studio can't even run any tests consistently these days.