mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
55 lines
1.4 KiB
Prolog
55 lines
1.4 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.
|
|
#
|
|
# 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
|
|
-dontobfuscate
|
|
-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(...);
|
|
}
|
|
|
|
# These classes 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.** {
|
|
*;
|
|
}
|
|
|
|
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault
|