diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 2 | ||||
-rw-r--r-- | app/proguard-rules.pro | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 9416d578..284cbeea 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,6 +46,8 @@ android { arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}" } } + minifyEnabled true + proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } debug { applicationIdSuffix ".debug" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 00000000..b2214466 --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,5 @@ +# Squelch all warnings, they're harmless but ProGuard +# escalates them as errors. +-dontwarn sun.misc.Unsafe +# We're OSS anyway and who doesn't love a readable log +-dontobfuscate |