Disable ProsGuard for debug builds

This commit is contained in:
Dominik Schürmann committed 2017-02-02 10:55:34 +01:00
1 parent ad8e115d96
commit 0fcdc3df58
2 files changed
+3 -4

No files matched your search

+3 -4
View File
@@ -185,7 +185,7 @@ android {
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-release.pro'
// Reference them in the java files with e.g. BuildConfig.ACCOUNT_TYPE.
buildConfigField "String", "ACCOUNT_TYPE", "\"org.sufficientlysecure.keychain.account\""
@@ -201,9 +201,8 @@ android {
}
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
testProguardFile('proguard-rules.pro')
// disable ProGuard for faster compile times for debug builds
minifyEnabled false
applicationIdSuffix ".debug"
File renamed without changes.