~singpolyma/cheogram-android

5f4b6e39bcf96435acb79dcf8c660b0819232544 — Sam Whited 9 years ago 1f49e99
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.
2 files changed, 3 insertions(+), 1 deletions(-)

M build.gradle
M proguard-rules.txt
M build.gradle => build.gradle +1 -1
@@ 50,7 50,7 @@ android {
	}
	buildTypes {
		release {
			runProguard false
			runProguard true
			proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
		}
	}

M proguard-rules.txt => proguard-rules.txt +2 -0
@@ 16,6 16,8 @@
#   public *;
#}

-dontwarn javax.naming.**

-keep class * extends java.util.ListResourceBundle {
    protected Object[][] getContents();
}