From: Gustavo Martin Morcuende Date: Sun, 21 Dec 2014 15:31:04 +0000 (+0100) Subject: Disable debugging in release version X-Git-Tag: weatherinformation-1.0~3 X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=00228044d3310f40391704d59ad73dea7c4bcc81;p=AndroidWeatherInformation Disable debugging in release version --- diff --git a/app/build.gradle b/app/build.gradle index 97ca02d..740bb23 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,10 +24,13 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' buildConfigField "boolean", "DEBUG_MODE", "false" + debuggable false signingConfig signingConfigs.releaseSigning } debug { + minifyEnabled false buildConfigField "boolean", "DEBUG_MODE", "true" + debuggable true } } }