Skip to content

Commit

Permalink
proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
MFlisar committed Oct 24, 2023
1 parent 92e802d commit deafad0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ android {

defaultConfig {
minSdkVersion setup.minSdk
consumerProguardFiles 'consumer-proguard-rules.pro'
}

compileOptions {
Expand Down
2 changes: 2 additions & 0 deletions library/consumer-proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# rule should be already part of logback android (https://github.com/tony19/logback-android/issues/344)
-keepclassmembers class ch.qos.logback.core.rolling.helper.* { <init>(); }
5 changes: 1 addition & 4 deletions library/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@
# class:
#-keepclassmembers class fqcn.of.javascript.interfaces.for.webview {
# public *;
#}

# rule should be already part of logback android (https://github.com/tony19/logback-android/issues/344)
-keepclassmembers class ch.qos.logback.core.rolling.helper.* { <init>(); }
#}

0 comments on commit deafad0

Please sign in to comment.