Join Slack
Powered by
Hello, in a gradle plugin written for Android, I’v...
# gradle
g
galex
01/15/2018, 8:14 AM
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
trevjones
01/15/2018, 7:48 PM
I have a few plugins all in kotlin that interact with the android gradle plugin.
https://github.com/trevjonez
trevjones
01/15/2018, 7:48 PM
if you didn't figure some stuff out. probably some stuff I could do better in there, but it works.
g
galex
01/17/2018, 9:36 AM
Thanks I will check out your plugins!
galex
01/19/2018, 11:13 AM
@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
trevjones
01/19/2018, 5:04 PM
I have yet to be motivated to do it as the last I checked android studio still can't handle it
👍 1
trevjones
01/19/2018, 5:18 PM
hell android studio can't even run any tests consistently these days.
2
Views
Open in Slack
Previous
Next