Add debug_mode resValue

This commit is contained in:
Benoit Marty 2019-03-13 15:11:02 +01:00
parent 99b1c0bed4
commit 26ae034ba9

View File

@ -43,7 +43,13 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
resValue "bool", "debug_mode", "true"
}

release {
resValue "bool", "debug_mode", "false"

minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}