Merge pull request #93 from OHermesJunior/minify-release-apk

Enable minify, reduce release apk size.
This commit is contained in:
Docile-Alligator 2020-05-12 09:54:21 +08:00 committed by GitHub
commit b1bd270842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,9 @@ android {
} }
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
} }
compileOptions { compileOptions {