Use proguard on release builds

We don't need obfuscation (it's an open source project), but proguard
wil shrink the apk by stripping out unused code.
This commit is contained in:
Sam Whited 2014-10-22 18:22:49 -04:00
parent 1f49e99c46
commit 5f4b6e39bc
2 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@ android {
}
buildTypes {
release {
runProguard false
runProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}

View File

@ -16,6 +16,8 @@
# public *;
#}
-dontwarn javax.naming.**
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}