Skip to content

Commit 9a55122

Browse files
committed
mac fix build
1 parent 114506f commit 9a55122

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

desktop/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ compose.desktop {
2626
application {
2727
mainClass = "bruce.app.MainKt"
2828

29+
// Compose 1.7 ships ProGuard 7.2.2, which rejects Java 21 class files
30+
// (version 65 > its max 62). Shrinking saves little next to the bundled
31+
// JRE, and unminified avoids needing keep rules for jSerialComm/skiko.
32+
buildTypes.release.proguard {
33+
isEnabled.set(false)
34+
}
35+
2936
nativeDistributions {
3037
// Only the host's own format: Compose rejects Dmg on Linux, AppImage on macOS, etc.
3138
val hostOs = System.getProperty("os.name").lowercase()

0 commit comments

Comments
 (0)