mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-27 10:11:48 -04:00
build(desktop): enable ProGuard for release builds (#4772)
This commit is contained in:
@@ -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
desktop/proguard-rules.pro
vendored
Normal file
4
desktop/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
-dontwarn android.os.Parcel**
|
||||
-dontwarn android.os.Parcelable**
|
||||
-dontwarn com.squareup.wire.AndroidMessage**
|
||||
-dontwarn io.ktor.**
|
||||
Reference in New Issue
Block a user