Files
file-manager/app/proguard-rules.pro
T

18 lines
743 B
Prolog

# ProGuard/R8 rules for the release build.
#
# The app relies on reflection only indirectly (Compose, Coil, AndroidX ship their
# own consumer rules), so we keep this list intentionally short.
# Keep line numbers so crash reports stay readable without the original class names.
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute SourceFile
# Coroutines: keep the internal classes R8 sometimes struggles to strip correctly.
-dontwarn kotlinx.coroutines.**
# Commons Compress discovers codecs and archive formats reflectively in a few
# places; keep the annotated and provider classes so extraction keeps working
# after shrinking.
-keep class org.apache.commons.compress.** { *; }
-dontwarn org.apache.commons.compress.**