Ryan Smith
04/10/2023, 11:25 PMrunReleaseDistributable
Gradle task, but everything seems to work with non-release. I have a suspicion there's some missing piece of Proguard configuration I need in order to keep the right parts of kotlinx-coroutines-swing
, but I'm not sure what it is. Has anyone run in to this before?kotlinx-coroutines-swing
I need?Dima Avdeev
04/11/2023, 5:51 AMRyan Smith
04/11/2023, 3:09 PMDima Avdeev
04/15/2023, 3:55 PMRyan Smith
04/15/2023, 4:30 PMDima Avdeev
04/17/2023, 7:35 PMRyan Smith
04/17/2023, 10:23 PMDima Avdeev
04/18/2023, 7:15 AMalexey.tsvetkov
04/24/2023, 6:29 PMcompose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
// ...
buildTypes.release.proguard {
configurationFiles.from("<http://desktop-rules.pro|desktop-rules.pro>")
}
}
}
}
// <http://desktop-rules.pro|desktop-rules.pro>
-keep class kotlinx.coroutines.swing.SwingDispatcherFactory {}
At least on my machine the exception has disappeared after adding that.Ryan Smith
04/24/2023, 6:40 PM