In Android Studio and Intellij, you have those nice tool windows to configure your current builds (Variants (release/debug), select devices, ...)
Is there any way i could integrate that into a script?
The functionality I need is:
• Get selected devices to run an adb command on there
• Get release/debug configuration
There should be a way to at least determine what variant is being used inside a gradle plugin run, right?