123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # Add project specific ProGuard rules here.
- # You can control the set of applied configuration files using the
- # proguardFiles setting in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # 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 *;
- #}
- # Uncomment this to preserve the line number information for
- # debugging stack traces.
- #-keepattributes SourceFile,LineNumberTable
- # If you keep the line number information, uncomment this to
- # hide the original source file name.
- #-renamesourcefileattribute SourceFile
- # Retain generic type information for use by reflection by converters and adapters.
- -keepattributes Signature
- # Retain service method parameters when optimizing.
- -keepclassmembers,allowshrinking,allowobfuscation interface * {
- @retrofit2.http.* <methods>;
- }
- # Ignore annotation used for build tooling.
- -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
- # Ignore JSR 305 annotations for embedding nullability information.
- -dontwarn javax.annotation.**
- ## https://github.com/CarGuo/GSYVideoPlayer混淆代码
- -keep class com.shuyu.gsyvideoplayer.video.** { *; }
- -dontwarn com.shuyu.gsyvideoplayer.video.**
- -keep class com.shuyu.gsyvideoplayer.video.base.** { *; }
- -dontwarn com.shuyu.gsyvideoplayer.video.base.**
- -keep class com.shuyu.gsyvideoplayer.utils.** { *; }
- -dontwarn com.shuyu.gsyvideoplayer.utils.**
- -keep class tv.danmaku.ijk.** { *; }
- -dontwarn tv.danmaku.ijk.**
- -keep public class * extends android.view.View{
- *** get*();
- void set*(***);
- public <init>(android.content.Context);
- public <init>(android.content.Context, android.util.AttributeSet);
- public <init>(android.content.Context, android.util.AttributeSet, int);
- }
- ## end
|