mirror of
https://github.com/oxyroid/M3UAndroid.git
synced 2026-03-13 10:02:01 +08:00
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:
5
app/smartphone/proguard-rules.pro
vendored
5
app/smartphone/proguard-rules.pro
vendored
@@ -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
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
-dontwarn java.lang.invoke.StringConcatFactory
|
||||
-dontwarn com.m3u.i18n.R$string
|
||||
|
||||
-dontwarn io.netty.pkitesting.**
|
||||
-dontwarn jdk.jfr.**
|
||||
|
||||
30
data/proguard-rules.pro
vendored
30
data/proguard-rules.pro
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user