aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit042c7fc73797bbfcf3aff7fccd8d873d83682a68 (patch)
tree98388c52a6cc5ba4ed2407ffdd7e6611b554a18a /app
parentPreferences: use v14 material style (diff)
downloadwireguard-android-042c7fc73797bbfcf3aff7fccd8d873d83682a68.tar.xz
wireguard-android-042c7fc73797bbfcf3aff7fccd8d873d83682a68.zip
proguard: enable
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