mirror of
https://github.com/openflocon/Flocon.git
synced 2026-04-28 14:30:14 +00:00
35 lines
No EOL
877 B
Prolog
35 lines
No EOL
877 B
Prolog
-dontwarn okhttp3.**
|
|
-dontwarn io.ktor.**
|
|
-dontwarn org.bouncycastle.**
|
|
-dontwarn org.conscrypt.**
|
|
-dontwarn org.openjsse.**
|
|
-dontwarn android.**
|
|
|
|
#OkHttp
|
|
-keepattributes Signature
|
|
-keepattributes Annotation
|
|
-keep class okhttp3.** { *; }
|
|
-keep interface okhttp3.** { *; }
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
|
|
# Ktor
|
|
-keep class io.ktor.** { *; }
|
|
-keepclassmembers class io.ktor.** { volatile <fields>; }
|
|
-keep class io.ktor.client.engine.cio.** { *; }
|
|
-keep class kotlinx.coroutines.** { *; }
|
|
-dontwarn kotlinx.atomicfu.**
|
|
-dontwarn io.netty.**
|
|
-dontwarn com.typesafe.**
|
|
-dontwarn org.slf4j.**
|
|
|
|
# Obfuscation breaks coroutines/ktor for some reason
|
|
-dontobfuscate
|
|
|
|
-keep class * extends coil3.util.DecoderServiceLoaderTarget { *; }
|
|
-keep class * extends coil3.util.FetcherServiceLoaderTarget { *; }
|
|
|
|
-if @kotlinx.serialization.Serializable class **
|
|
-keep class <1> {
|
|
*;
|
|
} |