Skip to content

Commit

Permalink
Enable minify
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrlzy committed Mar 4, 2024
1 parent 795f5ea commit 448cbb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,13 @@ android {
]
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
postprocessing {
removeUnusedCode true
removeUnusedResources true
obfuscate false
optimizeCode true
proguardFiles 'proguard-rules.pro'
}
signingConfig signingConfigs.testRelease
manifestPlaceholders = [
appIcon: "@mipmap/ic_launcher_2",
Expand Down
5 changes: 4 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile

-dontwarn org.slf4j.impl.StaticLoggerBinder
-dontwarn javax.xml.stream.XMLResolver

0 comments on commit 448cbb0

Please sign in to comment.