# Keep the entry classes
-keep class com.fabledsword.minstrel.MainActivity { *; }
-keep class com.fabledsword.minstrel.MinstrelApplication { *; }

# kotlinx.serialization (from the kotlinx.serialization README)
-keepattributes *Annotation*, InnerClasses
-dontnote kotlinx.serialization.AnnotationsKt
-keepclassmembers class kotlinx.serialization.json.** {
    *** Companion;
}
-keepclasseswithmembers class kotlinx.serialization.json.** {
    kotlinx.serialization.KSerializer serializer(...);
}

# Hilt
-keep class * extends androidx.lifecycle.ViewModel { *; }

# Media3 — keep player/exo classes
-keep class androidx.media3.** { *; }
