proguard: enable

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-04-30 16:56:48 +02:00
parent 3c84db7788
commit 65ca5979d2
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ android {
buildToolsVersion '27.0.3' buildToolsVersion '27.0.3'
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
} }

View File

@ -23,3 +23,4 @@
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
-dontwarn sun.misc.Unsafe