When I ran `./gradlew packageReleaseDistributionFo...
# compose-desktop
y
When I ran
./gradlew packageReleaseDistributionForCurrentOS
, I encountered this issue: Unexpected error.
java.io.IOException: Please correct the above warnings first.
What went wrong: Execution failed for task
:composeApp:proguardReleaseJars
. Even after adding these below rules to ProGuard: See the image for the full error message and the ProGuard file in the description: Copy
Copy code
# --- Ignore all missing-dependency warnings that come from Ktor/Netty ---
-dontwarn io.ktor.**
-dontwarn io.netty.**
-dontwarn org.slf4j.**
-dontwarn kotlinx.io.**
-dontwarn kotlinx.datetime.**
-dontwarn org.bouncycastle.**
-dontwarn org.conscrypt.**
-dontwarn org.openjsse.**

# (optional) Make ProGuard continue even when new warnings appear
-ignorewarnings
my Compose plugin version is
1.9.0-beta01
. To see the whole ProGuard rules, check out this link: https://github.com/yassineAbou/LLMS/blob/master/composeApp/compose-desktop.pro