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:
parent
1f49e99c46
commit
5f4b6e39bc
|
@ -50,7 +50,7 @@ android {
|
|||
}
|
||||
buildTypes {
|
||||
release {
|
||||
runProguard false
|
||||
runProguard true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
# public *;
|
||||
#}
|
||||
|
||||
-dontwarn javax.naming.**
|
||||
|
||||
-keep class * extends java.util.ListResourceBundle {
|
||||
protected Object[][] getContents();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue