charlesmuchene
02/19/2024, 2:13 PM:runReleaseDistributable
fails to launch due to the following crash. Any ideas on how to resolve it?
Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.jetbrains.jewel.ui.painter.SvgPainterHint cannot extend sealed interface org.jetbrains.jewel.ui.painter.PainterHint
Here’s the project: https://github.com/charlesmuchene/pref-editor-desktopseb
02/19/2024, 2:31 PMcharlesmuchene
02/19/2024, 3:43 PM1.6.0-rc02
• Kotlin 1.9.21
• Gradle 8.5
• IntUI standalone 0.13.2
• JDK jbr-17 - aarch64
I have no issue running the project from the IDE.
However, executing the :runReleaseDistributable
shows a bunch of warnings from proguard (missing androidx.compose.material.MaterialTheme etc) and fails the build.
Adding a proguard rule to ignore these warnings, proceeds to run the above task but fails when instantiating IntUiTheme
(line 45) with
Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.jetbrains.jewel.ui.painter.SvgPainterHint cannot extend sealed interface org.jetbrains.jewel.ui.painter.PainterHint
seb
02/19/2024, 3:44 PMcharlesmuchene
02/19/2024, 3:48 PMv1.6.0-dev1397
: same error.seb
02/19/2024, 4:45 PMHIGAN
02/20/2024, 4:46 AMdependencies
task of your project?charlesmuchene
02/20/2024, 4:57 AMcharlesmuchene
02/20/2024, 4:59 AMHIGAN
02/20/2024, 7:26 AM# Keep all PaintetHints
-keep interface * extends org.jetbrains.jewel.ui.painter.PainterHint
seb
02/20/2024, 11:06 AMcharlesmuchene
02/20/2024, 1:42 PMcharlesmuchene
02/22/2024, 8:41 PMseb
02/23/2024, 5:48 PMseb
02/23/2024, 5:49 PMcharlesmuchene
02/24/2024, 3:49 AM