Reputation: 37721
I'm trying to add proguard
to my Compose Desktop
app for obfuscating the code. I got a lot of proguard
errors after enabling it, but after a lot of research I get rid of all of them adding a lot of proguard
rules.
Now the release distributable builds, and after installing it correctly, when I try to run it gives this error:
Failed to launch JVM
and closes. I can't know why because I don't find any log on the system with information about what is happening. Any idea? I'm adding how I enable proguard in the thread.
There is the code I use to enable proguard:
buildTypes.release.proguard {
isEnabled.set(true)
version.set("7.5.0")
configurationFiles.from(project.file("compose-desktop.pro"))
}
Upvotes: 0
Views: 56