2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Specify useProgard and shrinkResources for Gradle plugin 2.1

minifyEnabled alone in 2.0+ refers to the new experimental code shrinker
shrinkResources removes unused resources
This commit is contained in:
Albert Vaca
2016-06-04 15:26:13 +02:00
parent e34de854bf
commit 5487c5556b

View File

@@ -54,6 +54,8 @@ android {
buildTypes {
release { //keep on 'releae', set to 'all' when testing to make sure proguard is not deleting important stuff
minifyEnabled true
useProguard true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
}
}