diff options
author | Hermes Junior <ohermesjunior@gmail.com> | 2020-07-09 15:44:49 +0000 |
---|---|---|
committer | OHermesJunior <ohermesjunior@gmail.com> | 2020-07-09 15:44:49 +0000 |
commit | 105a5642ea7291d589cf294c36e0500ebb101e42 (patch) | |
tree | a0f224fcd1c8e88dcbf6e36e874ad7bdc1c35501 /app/build.gradle | |
parent | 70264ee6321660414069cda09ce076eb007478d4 (diff) | |
download | infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.gz infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.bz2 infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.lz infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.xz infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.tar.zst infinity-for-reddit-105a5642ea7291d589cf294c36e0500ebb101e42.zip |
Add minified Release.
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle index edf08528..2999b25e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,6 +20,13 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + minifiedRelease { + initWith buildTypes.release + zipAlignEnabled true + minifyEnabled true + shrinkResources true + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -90,7 +97,7 @@ dependencies { // androidX startup for auto-init implementation "androidx.startup:startup-runtime:1.0.0-alpha01" //crashy - implementation 'com.github.CraZyLegenD:Crashy:1.0.4' + implementation 'com.github.CraZyLegenD:Crashy:1.0.5' def toroVersion = '3.7.0.2010003' implementation "im.ene.toro3:toro:$toroVersion" |