Disable ProsGuard for debug builds
This commit is contained in:
@@ -185,7 +185,7 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled true
|
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.
|
// Reference them in the java files with e.g. BuildConfig.ACCOUNT_TYPE.
|
||||||
buildConfigField "String", "ACCOUNT_TYPE", "\"org.sufficientlysecure.keychain.account\""
|
buildConfigField "String", "ACCOUNT_TYPE", "\"org.sufficientlysecure.keychain.account\""
|
||||||
@@ -201,9 +201,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
minifyEnabled true
|
// disable ProGuard for faster compile times for debug builds
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
minifyEnabled false
|
||||||
testProguardFile('proguard-rules.pro')
|
|
||||||
|
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user