Skip to content

Commit

Permalink
Merge pull request #56 from infinum/fix/revert-obfuscations
Browse files Browse the repository at this point in the history
Revert obfuscations
  • Loading branch information
KCeh authored Mar 6, 2024
2 parents ad427b6 + eec30b7 commit aea966f
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 10 deletions.
36 changes: 35 additions & 1 deletion sentinel-no-op/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.* {
public protected *;
}
-keep public class com.infinum.sentinel.Sentinel {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.ChuckerTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.CollarTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.DbInspectorTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.LeakCanaryTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.AppGalleryTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.GooglePlayTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.ThimbleTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.TimberTool {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.CertificateTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
40 changes: 39 additions & 1 deletion sentinel/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.* {
public protected *;
}
-keep public class com.infinum.sentinel.Sentinel {
public protected *;
}
-keep public class com.infinum.sentinel.ui.tools.CertificateTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**

# KotlinX Serialization
-if @kotlinx.serialization.Serializable class **
-keepclassmembers class <1> {
static <1>$Companion Companion;
}
-if @kotlinx.serialization.Serializable class ** {
static **$* *;
}
-keepclassmembers class <1>$<3> {
kotlinx.serialization.KSerializer serializer(...);
}
-if @kotlinx.serialization.Serializable class ** {
public static ** INSTANCE;
}
-keepclassmembers class <1> {
public static <1> INSTANCE;
kotlinx.serialization.KSerializer serializer(...);
}
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault
-keepattributes InnerClasses # Needed for `getDeclaredClasses`.
-keepnames class <1>$$serializer { # -keepnames suffices; class is kept when serializer() is kept.
static <1>$$serializer INSTANCE;
}

-keep class * extends androidx.room.RoomDatabase
-keep @androidx.room.Entity class *
-keep @androidx.room.TypeConverters class *
6 changes: 5 additions & 1 deletion tool-appgallery/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.AppGalleryTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-chucker/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.ChuckerTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-collar/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.CollarTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-dbinspector/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.DbInspectorTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-googleplay/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.GooglePlayTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-leakcanary/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.LeakCanaryTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-thimble/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.ThimbleTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**
6 changes: 5 additions & 1 deletion tool-timber/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
-dontobfuscate
-keeppackagenames
-keep public class com.infinum.sentinel.ui.tools.TimberTool {
public protected *;
}
-keep public class com.infinum.sentinel.databinding.**

0 comments on commit aea966f

Please sign in to comment.