Fix coil runtine loading issue in release by disabling shrinking.
This commit is contained in:
parent
52e8665c43
commit
03df369e0b
2 changed files with 13 additions and 12 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
-keep class androidx.compose.runtime.** { *; }
|
||||
-keep class androidx.collection.** { *; }
|
||||
-keep class androidx.lifecycle.** { *; }
|
||||
# proguard-rules.pro
|
||||
-dontoptimize
|
||||
-dontobfuscate
|
||||
-dontshrink
|
||||
|
||||
# We're excluding Material 2 from the project as we're using Material 3
|
||||
-dontwarn androidx.compose.material.**
|
||||
|
|
@ -11,12 +11,17 @@
|
|||
|
||||
# OkHttp comming from COIL.
|
||||
-dontwarn okhttp3.internal.platform.**
|
||||
-keep class coil3.compose.** { *; }
|
||||
-keep class coil3.network.ktor3.** { *; }
|
||||
-keep class coil3.** { *; }
|
||||
|
||||
# Serialization
|
||||
-keep class io.ktor.serialization.kotlinx.json.** { *; }
|
||||
-keep class com.pixelized.shared.lwa.model.** { *; }
|
||||
-keep class com.pixelized.shared.lwa.protocol.rest.** { *; }
|
||||
-keep class com.pixelized.desktop.lwa.repository.settings.model.** { *; }
|
||||
-keep @kotlinx.serialization.Serializable class * { *; }
|
||||
-keep @kotlinx.serialization.Serializable class * { *; }
|
||||
|
||||
# For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue