Is there a way to have multiple build variants?
I have the following variants in my build.gradle
:
buildTypes {
release {
//debuggable true
minifyEnabled false
signingConfig signingConfigs.config
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "String", "API_URL", "\"https://api.example.com\""
}
debug {
minifyEnabled false
buildConfigField "String", "BASE_URL_PRODUCTION_V4", "\"https://localhost\""
}
staging {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "String", "API_URL", "\"https://api.example.com\""
}
}
But…