# R8 for the Android 4.1 build (build.sh): shrinks ExoPlayer and Guava to what the app uses and turns their Java 8 # code into what Android 4.1 runs. The app (and its Bouncy Castle copy) stays whole and readable in crash reports. -keep class com.minamp.** { *; } -dontobfuscate # referenced only by annotations, or by code for newer Androids that ExoPlayer guards by version # (build.sh gives R8 the Android 4.1 API, so anything newer is "missing") -dontwarn android.** -dontwarn androidx.annotation.** -dontwarn org.checkerframework.** -dontwarn com.google.errorprone.annotations.** -dontwarn com.google.j2objc.annotations.** -dontwarn javax.annotation.** -dontwarn kotlin.** -dontwarn org.codehaus.mojo.animal_sniffer.** -dontwarn sun.misc.Unsafe -dontwarn java.lang.ClassValue -dontwarn javax.lang.model.element.Modifier