man I still haven't been able to get proguard shri...
# compose-desktop
a
man I still haven't been able to get proguard shrinking working on my compose desktop targets. Even adding
-keep public class **.** { *; }
somehow isn't enough!
1
j
Some classes aren't public
Probably better to use -dontshrink or whatever it is
a
well ideally I'd really like some shrinking, these CD binaries are pretty fat
1
but I suppose I could at lest get the optimization step for now
a
Take a look at the following resources: • Ktor Server Proguard GuideKtor Server Proguard Docs Improve PRExample of custom Proguard Task Though what is the issue? Is there are warnings, it doesn't shrink properly, or you're getting runtime errors?
m
See the previous conversation if you haven't seen it: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1702330036462979?thread_ts=1702294616.584159&cid=C01D6HTPATV I included my working config in the end in case it helps.