diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index e37e83a..25e5f04 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -200,7 +200,7 @@ compose { buildTypes.release.proguard { configurationFiles.from(project.file("compose-desktop.pro")) isEnabled = true - optimize = true + optimize = false obfuscate = false } } diff --git a/composeApp/compose-desktop.pro b/composeApp/compose-desktop.pro index ad644fb..a7b57e6 100644 --- a/composeApp/compose-desktop.pro +++ b/composeApp/compose-desktop.pro @@ -1,4 +1,15 @@ -keep class io.ktor.client.engine.java.JavaHttpEngineContainer -keep class kotlinx.coroutines.swing.SwingDispatcherFactory --keep class com.arkivanov.decompose.extensions.compose.jetbrains.mainthread.SwingMainThreadChecker +-keep class com.arkivanov.decompose.extensions.compose.mainthread.SwingMainThreadChecker +-keep class org.bridj.** { *; } +-keep class com.sun.jna.** { *; } +-keep class com.google.zxing.** { *; } + -dontwarn org.slf4j.** +-dontwarn org.osgi.framework.** +-dontwarn com.github.sarxos.webcam.log.** +-dontwarn com.github.eduramiba.webcamcapture.TestDriver +-dontwarn com.github.eduramiba.webcamcapture.TestDriver$1 +-dontwarn javafx.scene.image.WritableImage +-dontwarn javafx.scene.image.PixelFormat +-dontwarn javafx.scene.image.PixelWriter