Skip to content

Commit

Permalink
Add shrinkResources to the release builds
Browse files Browse the repository at this point in the history
This will instruct Gradle plugin to try to shrink the resources
included in the package so the size of the APK is smaller.
  • Loading branch information
svillar committed Dec 19, 2023
1 parent ef48661 commit 2bb2b25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ android {
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig getUseDebugSigningOnRelease() ? debug.signingConfig : release.signingConfig
buildConfigField 'String', 'PROPS_ENDPOINT', '"https://igalia.github.io/wolvic/props.json"'
Expand Down

0 comments on commit 2bb2b25

Please sign in to comment.