File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ # kotlinx-serialization-json specific. Add this if you have java.lang.NoClassDefFoundError kotlinx.serialization.json.JsonObjectSerializer
2+ -keepclassmembers class kotlinx.serialization.json.** {
3+ *** Companion;
4+ }
5+ -keepclasseswithmembers class kotlinx.serialization.json.** {
6+ kotlinx.serialization.KSerializer serializer(...);
7+ }
8+
9+ # These rules will ensure that our generated serializers dont get obfuscated
10+ -keep,includedescriptorclasses class com.segment.analytics.kotlin.**$$serializer { *; }
11+ -keepclassmembers class com.segment.analytics.kotlin.** {
12+ *** Companion;
13+ }
14+ -keepclasseswithmembers class com.segment.analytics.kotlin.** {
15+ kotlinx.serialization.KSerializer serializer(...);
16+ }
You can’t perform that action at this time.
0 commit comments