Remove old redundant rules from proguard

This commit is contained in:
TacoTheDank 2022-05-26 12:00:10 -04:00
parent ddf415b54b
commit 037e6c4922
1 changed files with 2 additions and 16 deletions

View File

@ -41,15 +41,6 @@
# for okhttp # for okhttp
-dontwarn okhttp3.** -dontwarn okhttp3.**
-dontwarn okio.** -dontwarn okio.**
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
# for RxJava:
-dontwarn sun.misc.Unsafe
# for retrolambda
-dontwarn java.lang.invoke.*
# greenrobot EventBus # greenrobot EventBus
-keepattributes *Annotation* -keepattributes *Annotation*
@ -70,12 +61,7 @@
} }
-dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder -dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder
# for ViewPageIndicator problems (https://github.com/JakeWharton/ViewPagerIndicator/issues/366): #### Proguard rules for fyyd client
-dontwarn com.viewpagerindicator.LinePageIndicator
# for some reason ProGuard removes this file. Why? Unsure.
-keep class de.danoeh.antennapod.core.cast.SwitchableMediaRouteActionProvider { *; }
# Retrofit 2.0 # Retrofit 2.0
-dontwarn retrofit2.** -dontwarn retrofit2.**
-keep class retrofit2.** { *; } -keep class retrofit2.** { *; }
@ -89,7 +75,7 @@
# Moshi # Moshi
-keep class com.squareup.moshi.** { *; } -keep class com.squareup.moshi.** { *; }
-keep interface com.squareup.moshi.** { *; } -keep interface com.squareup.moshi.** { *; }
-keep public class retrofit2.adapter.rxjava.RxJavaCallAdapterFactory { *; } ####
# awaitility # awaitility
-dontwarn java.beans.BeanInfo -dontwarn java.beans.BeanInfo