summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-04-30 16:56:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-04-30 16:57:57 +0200
commit65ca5979d2d20f5439b9d1cdb63e9ac4c2a8a250 (patch)
tree98388c52a6cc5ba4ed2407ffdd7e6611b554a18a /app
parent3c84db778888809083ff7707eebc0c55ebc6a6c7 (diff)
proguard: enable
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle2
-rw-r--r--app/proguard-rules.pro1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 97596c5b..687c6b06 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -4,7 +4,7 @@ android {
buildToolsVersion '27.0.3'
buildTypes {
release {
- minifyEnabled false
+ minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index f0b73f55..9ac8f51f 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -23,3 +23,4 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
+-dontwarn sun.misc.Unsafe