Ich möchte String-Wert für Debug wechseln und in BuildConfig Datei bauen Release:Wie Debug-Build von Gradle zu bestimmen?
def api= "\"api\"";
if (...){// What to set here to determine is build debug or not ?
api= "\"api-debug\"";
}
defaultConfig {
...
buildConfigField "String", "API", "${api}"
...
}