From 65ca5979d2d20f5439b9d1cdb63e9ac4c2a8a250 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 30 Apr 2018 16:56:48 +0200 Subject: [PATCH] proguard: enable Signed-off-by: Jason A. Donenfeld --- app/build.gradle | 2 +- app/proguard-rules.pro | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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