rafaelmaeuer
4/9/2018 - 12:56 PM

How to get current buildType in Android Gradle configuration

if(gradle.startParameter.taskNames[0].contains("assembleExample")) {
 // do stuff
}