Finalize fix and optimize with ProGuard rules

- Move data ProGuard rules to consumer-rules.pro.
- Add redundant -dontwarn rules to app module for CI stability.
- Ensure all logic fixes and optimizations are included.

Co-authored-by: oxyroid <70512220+oxyroid@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2026-02-12 09:16:40 +00:00
parent ed83aa34b0
commit cd1b3ddbdd
3 changed files with 12 additions and 28 deletions

View File

@@ -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
-dontwarn org.osgi.annotation.bundle.Export
-dontwarn io.netty.pkitesting.**
-dontwarn jdk.jfr.**
-dontwarn com.m3u.i18n.R$string

View File

@@ -0,0 +1,5 @@
-dontwarn java.lang.invoke.StringConcatFactory
-dontwarn com.m3u.i18n.R$string
-dontwarn io.netty.pkitesting.**
-dontwarn jdk.jfr.**

View File

@@ -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.