Alex Styl
11/04/2022, 7:30 AM./gradlew runReleaseDistributable
the app is built and the crashes with Failed to launch JVM
.
If I disable proguard entirely (obfuscate.set(false)
) then runReleaseDistributable runs the app without an issue. I even tried to keep Mainkt
and its contents via a proguard rule (checked the contents of desktop-jvm.jar) and still the same error.
Any pointers would be appreciatedAlex Styl
11/04/2022, 9:50 AMmain()
function to run some code before calling the application {}
block. Setting this back resolved it.