mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
52 lines
1.2 KiB
Prolog
52 lines
1.2 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.kts.kts.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
-dontobfuscate
|
|
|
|
# Required for serialization to work properly
|
|
-if @kotlinx.serialization.Serializable class **
|
|
-keepclassmembers class <1> {
|
|
static <1>$Companion Companion;
|
|
}
|
|
-if @kotlinx.serialization.Serializable class ** {
|
|
static **$* *;
|
|
}
|
|
-keepclassmembers class <2>$<3> {
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|
|
-if @kotlinx.serialization.Serializable class ** {
|
|
public static ** INSTANCE;
|
|
}
|
|
-keepclassmembers class <1> {
|
|
public static <1> INSTANCE;
|
|
kotlinx.serialization.KSerializer serializer(...);
|
|
}
|
|
|
|
# Required for the patcher to function correctly
|
|
-keep class app.revanced.patcher.** {
|
|
*;
|
|
}
|
|
-keep class brut.** {
|
|
*;
|
|
}
|
|
-keep class org.xmlpull.** {
|
|
*;
|
|
}
|
|
-keep class kotlin.** {
|
|
*;
|
|
}
|
|
-keep class org.jf.** {
|
|
*;
|
|
}
|
|
-keep class com.android.** {
|
|
*;
|
|
}
|
|
-dontwarn java.awt.**
|
|
-dontwarn javax.**
|
|
-dontwarn org.slf4j.**
|
|
|
|
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault |