Skip to content

Commit

Permalink
fix desktop release
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed May 9, 2024
1 parent 0da91ed commit 8f44c3c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ compose {
buildTypes.release.proguard {
configurationFiles.from(project.file("compose-desktop.pro"))
isEnabled = true
optimize = true
optimize = false
obfuscate = false
}
}
Expand Down
13 changes: 12 additions & 1 deletion composeApp/compose-desktop.pro
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8f44c3c

Please sign in to comment.