-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Describe the bug
After updating the library from version 3.0.6 to 3.1.3 in a Compose Multiplatform project, the generated Windows executable (.exe) size increased drastically, jumping from approximately 200MB to 1GB.
To Reproduce
Use a Compose Multiplatform project with Kotlin 2.3.0.
Add dependency: implementation("network.chaintech:qr-kit:3.1.3").
Run the Gradle task: ./gradlew packageReleaseDistributionForCurrentOS (Windows).
Check the output size of the generated .exe or the installation folder.
Expected behavior The library update should not increase the distribution size by such a massive amount (800MB+). It should either bundle only the necessary binaries or provide a way to exclude unused architectures/native libs.
Logs
Previous build (v3.0.6): ~200 MB
Current build (v3.1.3): ~1.0 GB
Environment:
OS: Windows
Target: Desktop (JVM)
QR Kit Version: 3.1.3
Kotlin Version: 2.3.0
Compose Multiplatform Version: 1.9.3
Additional context Reverting specifically qr-kit to version 3.0.6 (while keeping other libs updated) returns the app size to normal (~200MB), confirming this library is the cause of the bloat.