Skip to content

Commit

Permalink
Fix proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
asherepenko committed Jan 31, 2020
1 parent cd15366 commit b6ae1bb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 25 deletions.
4 changes: 1 addition & 3 deletions logger/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
-keep public class com.sherepenko.android.archivarius.** {
public protected *;
}
-dontoptimize
33 changes: 12 additions & 21 deletions logger/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
-keepattributes Signature
-keepattributes *Annotation*
-keepattributes InnerClasses
-keepattributes Exceptions
-keepattributes Deprecated
-keepattributes SourceFile
-keepattributes LineNumberTable
-keepattributes EnclosingMethod

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-renamesourcefileattribute SourceFile

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

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

-keep public class com.sherepenko.android.archivarius.** {
-keep public class com.sherepenko.android.logger.** {
public protected *;
}

-keep interface com.sherepenko.android.logger.**
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2

0 comments on commit b6ae1bb

Please sign in to comment.