Android / Gradle: Plugin basierend auf Build-Typ @ bedingt anwend
Ich möchte etwas machen wie (Pseudo-Code):
if (BuildType == "release"){
apply plugin: 'testfairy'
} else if (BuildType == "debug"){
apply plugin: 'io.fabric'
}
Die Idee ist, dass basierend auf dem Build-Typ ein Plugin angewendet wird (oder nicht). Wie es geht