frontend v0.4.0
This commit is contained in:
Vendored
+27
-1
@@ -18,4 +18,30 @@
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
# Ktor
|
||||
-keep class io.ktor.** { *; }
|
||||
-keep class kotlinx.coroutines.** { *; }
|
||||
|
||||
# Kotlinx serialization
|
||||
-keepattributes *Annotation*, InnerClasses
|
||||
-dontnote kotlinx.serialization.AnnotationsKt
|
||||
-keep,includedescriptorclasses class dev.zxq5.chatapp.android.**$$serializer { *; }
|
||||
-keepclassmembers class dev.zxq5.chatapp.android.** {
|
||||
*** Companion;
|
||||
}
|
||||
-keepclasseswithmembers class dev.zxq5.chatapp.android.** {
|
||||
kotlinx.serialization.KSerializer serializer(...);
|
||||
}
|
||||
|
||||
# Keep model classes (serialization needs these)
|
||||
-keep class dev.zxq5.chatapp.android.api.model.** { *; }
|
||||
-keep class dev.zxq5.chatapp.android.data.model.** { *; }
|
||||
|
||||
# Fix for missing errorprone and javax annotations used by Tink and other libraries
|
||||
-dontwarn com.google.errorprone.annotations.**
|
||||
-dontwarn javax.annotation.**
|
||||
|
||||
# Fix for missing java.lang.management referenced by Ktor (not available on Android)
|
||||
-dontwarn java.lang.management.**
|
||||
|
||||
Reference in New Issue
Block a user