The app crashes when I try running a release distr...
# jewel
m
The app crashes when I try running a release distribution if I call
IntUiTheme
It works fine on debug Jewel: 0.25.0 Kotlin: 2.0.20 Compose: 1.7.0-rc01 / 1.7.0-beta02 There's no clear error, I just receive Failed to launch JVM Also I tried to see what's going inside
IntUiTheme
and it looks like applying the ComponentStyling is what's causing the crash. Not sure if you are able to reproduce this by running runReleaseDistributable gradle task
s
Please file a bug with a repro project!
m
Ok, I've some additional informations when i tried with a new project
s
I don't even know what that error means 😂
😂 1
Tried with a newer JBR? Both building and running
That is the only idea I have
m
For some reason I couldn't run with JBR 21, I will try again later .I will keep investigating and let you know
👍 1
s
We build with 17, but 21 should also work
m
Keeping all jewel classes fixes the issue:
Copy code
-keep class org.jetbrains.jewel.** { *; }
s
Ahhh proguard lol
We've never tested with it, and don't really plan to support it explicitly... However I could add a note to the readme about it
m
Yes keeping all classes is enough for now
👍 1