I am facing an issue with proguard and creating a ...
# multiplatform
a
I am facing an issue with proguard and creating a distributable version of my Mac OS app. When I run
./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 appreciated
This took me forever to figure out. I had changed the default
main()
function to run some code before calling the
application {}
block. Setting this back resolved it.