build(desktop): enable ProGuard for release builds (#4772)

This commit is contained in:
James Rich authored and GitHub committed 2026-03-12 21:57:29 -05:00
1 parent 3d93d0b4e3
commit 87e291f58d
2 files changed
+6

No files matched your search

+2
View File
@@ -43,6 +43,8 @@ compose.desktop {
application {
mainClass = "org.meshtastic.desktop.MainKt"
buildTypes.release.proguard { configurationFiles.from(project.file("proguard-rules.pro")) }
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "Meshtastic"
+4
View File
@@ -0,0 +1,4 @@
-dontwarn android.os.Parcel**
-dontwarn android.os.Parcelable**
-dontwarn com.squareup.wire.AndroidMessage**
-dontwarn io.ktor.**