mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
a71f8f86b1
Co-authored-by: Zane Schepke <zanecschepke@gmail.com> Co-authored-by: solokot <solokot@gmail.com> Co-authored-by: lateweb <weblate@techkoala.net> Co-authored-by: Matthaiks <kitynska@gmail.com> Co-authored-by: Kachelkaiser <kachelkaiser@outlook.com> Co-authored-by: CyanWolf <hydemr@pm.me> Co-authored-by: Henrik Sozzi <henrik_sozzi@hotmail.com> Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org> Co-authored-by: x86_64-pc-linux-gnu <x86_64-pc-linux-gnu@proton.me> Co-authored-by: mak7im01 <mak7im02@gmail.com> Co-authored-by: heykanspor <meingithub@heykan.de>
61 lines
2.2 KiB
Prolog
61 lines
2.2 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.**
|
||
|
||
-dontwarn com.google.api.client.http.GenericUrl
|
||
-dontwarn com.google.api.client.http.HttpHeaders
|
||
-dontwarn com.google.api.client.http.HttpRequest
|
||
-dontwarn com.google.api.client.http.HttpRequestFactory
|
||
-dontwarn com.google.api.client.http.HttpResponse
|
||
-dontwarn com.google.api.client.http.HttpTransport
|
||
-dontwarn com.google.api.client.http.javanet.NetHttpTransport$Builder
|
||
-dontwarn com.google.api.client.http.javanet.NetHttpTransport
|
||
-dontwarn javax.lang.model.element.Modifier
|
||
-dontwarn org.joda.time.Instant
|
||
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
||
-dontwarn org.slf4j.impl.StaticMDCBinder
|
||
-dontwarn org.slf4j.impl.StaticMarkerBinder |