mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
48 lines
1.6 KiB
Prolog
48 lines
1.6 KiB
Prolog
# Add project specific ProGuard rules here.
|
||
# You can control the set of applied configuration files using the
|
||
# proguardFiles setting in build.gradle.
|
||
#
|
||
# 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
|
||
-keepclassmembers class * extends androidx.datastore.preferences.protobuf.GeneratedMessageLite {
|
||
<fields>;
|
||
}
|
||
|
||
# Keep all classes in the org.xbill.DNS package and subpackages
|
||
-keep class org.xbill.DNS.** { *; }
|
||
-dontwarn org.xbill.DNS.**
|
||
|
||
# Preserve JNA classes if used (e.g., for IPHlpAPI on Windows)
|
||
-keep class com.sun.jna.** { *; }
|
||
-dontwarn com.sun.jna.**
|
||
|
||
# Keep DNS resolver configuration classes that might be loaded dynamically
|
||
-keep class org.xbill.DNS.config.** { *; }
|
||
-dontwarn org.xbill.DNS.config.**
|
||
|
||
-keep class org.xbill.DNS.** { *; }
|
||
|
||
# Prevent optimization issues with native or reflection-based calls
|
||
-dontoptimize
|
||
-dontshrink
|
||
# Uncomment the above if errors persist, but use sparingly as they’re broad
|
||
|
||
# Suppress warnings about missing classes if not all features are used
|
||
-dontwarn java.lang.management.**
|
||
-dontwarn sun.nio.ch.**
|