mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-23 17:22:17 -05:00
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 {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
runProguard false
|
runProguard true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
# public *;
|
# public *;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
-dontwarn javax.naming.**
|
||||||
|
|
||||||
-keep class * extends java.util.ListResourceBundle {
|
-keep class * extends java.util.ListResourceBundle {
|
||||||
protected Object[][] getContents();
|
protected Object[][] getContents();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user