Merge pull request #5903 from TacoTheDank/cleanProguard

Remove old redundant rules from proguard
This commit is contained in:
ByteHamster 2022-06-03 13:50:53 +02:00 committed by GitHub
commit d168799953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 16 deletions

View File

@ -41,15 +41,6 @@
# for okhttp
-dontwarn okhttp3.**
-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
-keepattributes *Annotation*
@ -70,12 +61,7 @@
}
-dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder
# for ViewPageIndicator problems (https://github.com/JakeWharton/ViewPagerIndicator/issues/366):
-dontwarn com.viewpagerindicator.LinePageIndicator
# for some reason ProGuard removes this file. Why? Unsure.
-keep class de.danoeh.antennapod.core.cast.SwitchableMediaRouteActionProvider { *; }
#### Proguard rules for fyyd client
# Retrofit 2.0
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
@ -89,7 +75,7 @@
# Moshi
-keep class com.squareup.moshi.** { *; }
-keep interface com.squareup.moshi.** { *; }
-keep public class retrofit2.adapter.rxjava.RxJavaCallAdapterFactory { *; }
####
# awaitility
-dontwarn java.beans.BeanInfo