I am trying to optimise my application release dis...
# compose-desktop
d
I am trying to optimise my application release distribution, following https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-native-distribution.html#minification-and-obfuscation. I was hopping for Proguard to help me create my configuration with the
-addconfigurationdebugging
flag, as explained here: https://www.guardsquare.com/blog/proguard-configuration-made-easy. But it seems that Compose Desktop has its own way of invoking ProGuard and when I run
runRelease
, it fails during
proguardReleaseJars
. It is as if the option was not present in my configuration file. I can see that the configuration file is correctly read because my
-verbose
option seems to be taken in account. Should I run the application in another way to use that
-addconfigurationdebugging
option?