PlayerAndroid/app/proguard-rules.pro

63 lines
2 KiB
Prolog
Raw Normal View History

2018-07-27 13:07:33 +00:00
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/hemanths/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Preserve the line number information for
2018-07-27 13:07:33 +00:00
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable
2018-07-27 13:07:33 +00:00
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontwarn java.lang.invoke.*
-dontwarn **$$Lambda$*
2020-09-24 12:09:05 +00:00
-dontwarn javax.annotation.**
2018-07-27 13:07:33 +00:00
# RetroFit
-dontwarn retrofit.**
-keep class retrofit.** { *; }
# Glide
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
2018-07-27 13:07:33 +00:00
}
2020-09-24 12:09:05 +00:00
# OkHttp
-keepattributes Signature
-keepattributes *Annotation*
-keep interface com.squareup.okhttp3.** { *; }
-dontwarn com.squareup.okhttp3.**
2018-07-27 13:07:33 +00:00
#-dontwarn
#-ignorewarnings
2018-07-27 13:07:33 +00:00
2020-09-24 12:09:05 +00:00
-dontwarn org.jaudiotagger.**
-keep class org.jaudiotagger.** { *; }
2018-07-27 13:07:33 +00:00
-keepclassmembers enum * { *; }
-keepattributes *Annotation*, Signature, Exception
-keepnames class androidx.navigation.fragment.NavHostFragment
-keep class * extends androidx.fragment.app.Fragment{}
-keepnames class * extends android.os.Parcelable
-keepnames class * extends java.io.Serializable
-keep class code.name.monkey.retromusic.network.model.** { *; }
-keep class code.name.monkey.retromusic.model.CategoryInfo { *; }
-keep class com.google.android.material.bottomsheet.** { *; }