103 lines
3.1 KiB
Prolog
103 lines
3.1 KiB
Prolog
# 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
|
|
|
|
-keep class org.libpag.** {*;}
|
|
-keep class androidx.exifinterface.** {*;}
|
|
-keep class com.omicronapplications.** { *; }
|
|
-keep class net.sf.sevenzipjbinding.** { *; }
|
|
|
|
|
|
|
|
#---------------------------------TopOn 聚合
|
|
# Vungle
|
|
-dontwarn com.vungle.ads.**
|
|
-keepclassmembers class com.vungle.ads.** {
|
|
*;
|
|
}
|
|
|
|
|
|
|
|
|
|
# Google
|
|
-keep class com.google.android.gms.** { *; }
|
|
-dontwarn com.google.android.gms.**
|
|
|
|
|
|
|
|
|
|
# START OkHttp + Okio
|
|
# JSR 305 annotations are for embedding nullability information.
|
|
-dontwarn javax.annotation.**
|
|
|
|
|
|
# A resource is loaded with a relative path so the package of this class must be preserved.
|
|
-adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
|
|
|
|
|
|
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
|
|
# OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
|
|
-dontwarn okhttp3.internal.platform.**
|
|
-dontwarn org.conscrypt.**
|
|
-dontwarn org.bouncycastle.**
|
|
-dontwarn org.openjsse.**
|
|
|
|
|
|
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
|
|
# END OkHttp + Okio
|
|
|
|
|
|
# START Protobuf
|
|
-dontwarn com.google.protobuf.**
|
|
-keepclassmembers class com.google.protobuf.** {
|
|
*;
|
|
}
|
|
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
|
|
|
|
|
|
# END Protobuf
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-keep class com.mbridge.** {*; }
|
|
-keep interface com.mbridge.** {*; }
|
|
-keep class android.support.v4.** { *; }
|
|
-dontwarn com.mbridge.**
|
|
-keep class **.R$* { public static final int mbridge*; }
|
|
-keep public class com.mbridge.* extends androidx.** { *; }
|
|
-keep public class androidx.viewpager.widget.PagerAdapter{ *; }
|
|
-keep public class androidx.viewpager.widget.ViewPager.OnPageChangeListener{ *; }
|
|
-keep interface androidx.annotation.IntDef{ *; }
|
|
-keep interface androidx.annotation.Nullable{ *; }
|
|
-keep interface androidx.annotation.CheckResult{ *; }
|
|
-keep interface androidx.annotation.NonNull{ *; }
|
|
-keep public class androidx.fragment.app.Fragment{ *; }
|
|
-keep public class androidx.core.content.FileProvider{ *; }
|
|
-keep public class androidx.core.app.NotificationCompat{ *; }
|
|
-keep public class androidx.appcompat.widget.AppCompatImageView { *; }
|
|
-keep public class androidx.recyclerview.*{ *; }
|
|
|
|
#---------------------------------TopOn 聚合 |