mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(build): overhaul R8 rules and DRY up build-logic conventions (#5109)
This commit is contained in:
parent
048c74db13
commit
087fbbfb45
9 changed files with 99 additions and 98 deletions
8
desktop/proguard-rules.pro
vendored
8
desktop/proguard-rules.pro
vendored
|
|
@ -147,6 +147,14 @@
|
|||
-keep class org.jetbrains.compose.resources.** { *; }
|
||||
-keep class org.meshtastic.core.resources.** { *; }
|
||||
|
||||
# ---- Compose Animation (anti-merge) ----------------------------------------
|
||||
|
||||
# Prevent ProGuard from merging animation spec class hierarchies (same issue
|
||||
# as R8 on Android — EnterTransition/ExitTransition merged into *Impl,
|
||||
# VectorizedSpringSpec/TweenSpec eliminated). allowshrinking lets ProGuard
|
||||
# remove genuinely unreachable classes.
|
||||
-keep,allowshrinking,allowobfuscation class androidx.compose.animation.** { *; }
|
||||
|
||||
# ---- AboutLibraries ---------------------------------------------------------
|
||||
|
||||
-keep class com.mikepenz.aboutlibraries.** { *; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue