mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
build(desktop): enable ProGuard for release builds (#4772)
This commit is contained in:
parent
3d93d0b4e3
commit
87e291f58d
2 changed files with 6 additions and 0 deletions
|
|
@ -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.**
|
||||
Loading…
Add table
Add a link
Reference in a new issue