-keepclassmembers enum io.hengam.lib.** { *; }
-keepclassmembers enum androidx.work.** { *; }

-keep class * extends io.hengam.lib.internal.HengamComponentInitializer {
    public void preInitialize(android.content.Context);
    public io.reactivex.Completable postInitialize(android.content.Context);
}
-keep class io.hengam.lib.internal.HengamInitializer { *; }

-keep class io.hengam.lib.** extends io.hengam.lib.internal.task.HengamTask { *; }

-optimizations !class/unboxing/enum

# -- Moshi --
-dontwarn okio.**
-dontwarn javax.annotation.**
-keepclasseswithmembers class * {
    @com.squareup.moshi.* <methods>;
}
-keep @com.squareup.moshi.JsonQualifier interface *

-keep class **JsonAdapter {
    <init>(...);
    <fields>;
}
-keepnames @com.squareup.moshi.JsonClass class *

-dontwarn org.codehaus.mojo.animal_sniffer.*

# Keep Exception names
-keepnames class io.hengam.lib.** extends java.lang.Exception
-keepattributes LineNumberTable,SourceFile
-dontwarn org.slf4j.**
-dontwarn javax.**
-keep class io.sentry.event.Event { *; }

