Does anyone here have an idea how to use proguard with compose desktop?
s
Stefan Oltmann
09/16/2021, 8:02 AM
@patrickdelconte Did you figure something out?
p
patrickdelconte
09/16/2021, 9:46 PM
sort of. The compose plugin includes a gradle task to create a fat jar. The fatjar can then be fed to proguard. But afterwards you have to invoke jpackage by yourself e.g. https://badass-runtime-plugin.beryx.org/releases/latest/ to build an installer
s
Stefan Oltmann
09/17/2021, 6:12 AM
@patrickdelconte Thank you. I bookmark that as a fallback.