Disable ProsGuard for debug builds
This commit is contained in:
parent
ad8e115d96
commit
0fcdc3df58
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue