Skip to content

Commit

Permalink
Enable minify. Fixes #171 (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored May 24, 2022
1 parent 8a4e3e1 commit 772d7f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ android {
buildTypes {
if(project.hasProperty("RELEASE_STORE_FILE")) {
release {
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
Expand Down
3 changes: 2 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile
-keep class com.jerboa.datatypes.** { *; }
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ buildscript {
}// Top-level build file where you can add configuration options common to all sub-projects/modules.

plugins {
id 'com.android.application' version '7.3.0-alpha09' apply false
id 'com.android.library' version '7.3.0-alpha09' apply false
id 'com.android.application' version '7.4.0-alpha02' apply false
id 'com.android.library' version '7.4.0-alpha02' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
id "com.github.ben-manes.versions" version "0.42.0"
Expand Down

0 comments on commit 772d7f5

Please sign in to comment.