Add debug_mode resValue

This commit is contained in:
Benoit Marty 2019-03-13 15:11:02 +01:00
parent 99b1c0bed4
commit 26ae034ba9
1 changed files with 6 additions and 0 deletions

View File

@ -43,7 +43,13 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
buildTypes { buildTypes {
debug {
resValue "bool", "debug_mode", "true"
}
release { release {
resValue "bool", "debug_mode", "false"
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }