diff --git a/app/smartphone/proguard-rules.pro b/app/smartphone/proguard-rules.pro index e5e7cc79..e5bd7460 100644 --- a/app/smartphone/proguard-rules.pro +++ b/app/smartphone/proguard-rules.pro @@ -314,4 +314,7 @@ -dontwarn com.github.luben.zstd.ZstdInputStreamNoFinalizer -dontwarn com.github.luben.zstd.util.Native -dontwarn com.sun.nio.file.SensitivityWatchEventModifier --dontwarn org.osgi.annotation.bundle.Export \ No newline at end of file +-dontwarn org.osgi.annotation.bundle.Export +-dontwarn io.netty.pkitesting.** +-dontwarn jdk.jfr.** +-dontwarn com.m3u.i18n.R$string diff --git a/data/consumer-rules.pro b/data/consumer-rules.pro index e69de29b..6b6e36b2 100644 --- a/data/consumer-rules.pro +++ b/data/consumer-rules.pro @@ -0,0 +1,5 @@ +-dontwarn java.lang.invoke.StringConcatFactory +-dontwarn com.m3u.i18n.R$string + +-dontwarn io.netty.pkitesting.** +-dontwarn jdk.jfr.** diff --git a/data/proguard-rules.pro b/data/proguard-rules.pro index 97bf1133..0d03f03b 100644 --- a/data/proguard-rules.pro +++ b/data/proguard-rules.pro @@ -1,27 +1,3 @@ -# 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 - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile - --dontwarn java.lang.invoke.StringConcatFactory --dontwarn com.m3u.i18n.R$string - --dontwarn io.netty.pkitesting.** --dontwarn jdk.jfr.** +# ProGuard rules for the data module. +# Rules in this file are only applied when isMinifyEnabled is true for this module. +# For rules that should be applied to consumers of this module, use consumer-rules.pro.