mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
40 lines
1.1 KiB
Prolog
40 lines
1.1 KiB
Prolog
-dontwarn com.google.errorprone.annotations.**
|
||
|
||
-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.**
|
||
|
||
-keep class com.google.api.client.http.** { *; }
|
||
-dontwarn com.google.api.client.http.**
|
||
|
||
# Keep Joda-Time classes used by Tink
|
||
-keep class org.joda.time.** { *; }
|
||
-dontwarn org.joda.time.**
|
||
|
||
-keep class org.slf4j.** { *; }
|
||
-dontwarn org.slf4j.**
|
||
|