Skip to content

Commit

Permalink
Add initial proguard-rules for kotlinx-serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed Jun 18, 2020
1 parent c5937de commit d49f012
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions emojify/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keepattributes *Annotation*, InnerClasses
-dontnote kotlinx.serialization.SerializationKt
-keep,includedescriptorclasses class io.wax911.emojify.**$$serializer { *; }
-keepclassmembers class io.wax911.emojify.** {
*** Companion;
}
-keepclasseswithmembers class io.wax911.emojify.** {
kotlinx.serialization.KSerializer serializer(...);
}

0 comments on commit d49f012

Please sign in to comment.