I am trying to create a plugin for Android Studio. From the plugin itself I have the reference to the project and the files via IntelliJ API but I can't get to gradle's build variant which user selected.
Is it possible to somehow get the build variant selected by user from the plugin code itself?