Skip to content

Commit

Permalink
Enable progaurd for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Wavesonics committed Nov 2, 2024
1 parent 140fe3c commit 5e1b8f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ android {
}

release {
isMinifyEnabled = false
isShrinkResources = false
isMinifyEnabled = true
isShrinkResources = true

signingConfig = signingConfigs.getByName("release")

Expand Down
2 changes: 2 additions & 0 deletions android/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
# @Serializable and @Polymorphic are used at runtime for polymorphic serialization.
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault

-dontwarn org.slf4j.impl.StaticLoggerBinder

# Serializer for classes with named companion objects are retrieved using `getDeclaredClasses`.
# If you have any, uncomment and replace classes with those containing named companion objects.
#-keepattributes InnerClasses # Needed for `getDeclaredClasses`.
Expand Down

0 comments on commit 5e1b8f3

Please sign in to comment.