aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2020-05-12 01:54:21 +0000
committerGitHub <noreply@github.com>2020-05-12 01:54:21 +0000
commitb1bd27084242de942f414bff8bc2cff71848cbb6 (patch)
tree6e1ae799de46774f8559dccf4598bb577bab5544 /app/build.gradle
parentb4e6f00074e1d9575fd95cd76ab58baa1545ceb9 (diff)
parent80f74fc9c28e1e6848192aff3a612c0d026784b0 (diff)
downloadinfinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.tar
infinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.tar.gz
infinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.tar.bz2
infinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.tar.lz
infinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.tar.xz
infinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.tar.zst
infinity-for-reddit-b1bd27084242de942f414bff8bc2cff71848cbb6.zip
Merge pull request #93 from OHermesJunior/minify-release-apk
Enable minify, reduce release apk size.
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 707333bf..f81e6e53 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -12,8 +12,9 @@ android {
}
buildTypes {
release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ minifyEnabled true
+ shrinkResources true
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {