Skip to content

Commit

Permalink
feat: enable proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
tzebrowski committed Feb 3, 2025
1 parent f73c1f0 commit ea2fde2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ android {

buildTypes {
release {
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
debuggable false
jniDebuggable false
Expand Down
6 changes: 6 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-sourcefileattribute SourceFile

-keep class org.slf4j.LoggerFactory {*;}
-keep class org.slf4j.Logger {*;}
-dontwarn lombok.**
-dontwarn sun.reflect.**

0 comments on commit ea2fde2

Please sign in to comment.