493 lines
24 KiB
Plaintext
493 lines
24 KiB
Plaintext
# The proguard configuration file for the following section is C:\Users\Viper\Desktop\deskhub\mobile\build\intermediates\default_proguard_files\global\proguard-android-optimize.txt-8.4.2
|
|
# This is a configuration file for ProGuard.
|
|
# http://proguard.sourceforge.net/index.html#manual/usage.html
|
|
#
|
|
# Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
|
|
# the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
|
|
# will be ignored by new version of the Android plugin for Gradle.
|
|
|
|
# Optimizations: If you don't want to optimize, use the proguard-android.txt configuration file
|
|
# instead of this one, which turns off the optimization flags.
|
|
-allowaccessmodification
|
|
|
|
# Preserve some attributes that may be required for reflection.
|
|
-keepattributes AnnotationDefault,
|
|
EnclosingMethod,
|
|
InnerClasses,
|
|
RuntimeVisibleAnnotations,
|
|
RuntimeVisibleParameterAnnotations,
|
|
RuntimeVisibleTypeAnnotations,
|
|
Signature
|
|
|
|
-keep public class com.google.vending.licensing.ILicensingService
|
|
-keep public class com.android.vending.licensing.ILicensingService
|
|
-keep public class com.google.android.vending.licensing.ILicensingService
|
|
-dontnote com.android.vending.licensing.ILicensingService
|
|
-dontnote com.google.vending.licensing.ILicensingService
|
|
-dontnote com.google.android.vending.licensing.ILicensingService
|
|
|
|
# For native methods, see https://www.guardsquare.com/manual/configuration/examples#native
|
|
-keepclasseswithmembernames,includedescriptorclasses class * {
|
|
native <methods>;
|
|
}
|
|
|
|
# Keep setters in Views so that animations can still work.
|
|
-keepclassmembers public class * extends android.view.View {
|
|
void set*(***);
|
|
*** get*();
|
|
}
|
|
|
|
# We want to keep methods in Activity that could be used in the XML attribute onClick.
|
|
-keepclassmembers class * extends android.app.Activity {
|
|
public void *(android.view.View);
|
|
}
|
|
|
|
# For enumeration classes, see https://www.guardsquare.com/manual/configuration/examples#enumerations
|
|
-keepclassmembers enum * {
|
|
public static **[] values();
|
|
public static ** valueOf(java.lang.String);
|
|
}
|
|
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
public static final ** CREATOR;
|
|
}
|
|
|
|
# Preserve annotated Javascript interface methods.
|
|
-keepclassmembers class * {
|
|
@android.webkit.JavascriptInterface <methods>;
|
|
}
|
|
|
|
# The support libraries contains references to newer platform versions.
|
|
# Don't warn about those in case this app is linking against an older
|
|
# platform version. We know about them, and they are safe.
|
|
-dontnote android.support.**
|
|
-dontnote androidx.**
|
|
-dontwarn android.support.**
|
|
-dontwarn androidx.**
|
|
|
|
# Understand the @Keep support annotation.
|
|
-keep class android.support.annotation.Keep
|
|
|
|
-keep @android.support.annotation.Keep class * {*;}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@android.support.annotation.Keep <methods>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@android.support.annotation.Keep <fields>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@android.support.annotation.Keep <init>(...);
|
|
}
|
|
|
|
# These classes are duplicated between android.jar and org.apache.http.legacy.jar.
|
|
-dontnote org.apache.http.**
|
|
-dontnote android.net.http.**
|
|
|
|
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
|
|
-dontnote java.lang.invoke.**
|
|
|
|
# End of content from C:\Users\Viper\Desktop\deskhub\mobile\build\intermediates\default_proguard_files\global\proguard-android-optimize.txt-8.4.2
|
|
# The proguard configuration file for the following section is C:\Users\Viper\Desktop\deskhub\mobile\proguard-rules.pro
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-keep class de.deskhub.staff.data.remote.dto.** { *; }
|
|
|
|
# End of content from C:\Users\Viper\Desktop\deskhub\mobile\proguard-rules.pro
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\b7676db182e8649f5d0abc2060478ecb\transformed\navigation-common-2.7.7\proguard.txt
|
|
# Copyright (C) 2019 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# NavArgsLazy creates NavArgs instances using reflection
|
|
-if public class ** implements androidx.navigation.NavArgs
|
|
-keepclassmembers public class <1> {
|
|
** fromBundle(android.os.Bundle);
|
|
}
|
|
|
|
# Retain the @Navigator.Name annotation on each subclass of Navigator.
|
|
# R8 full mode only retains annotations on items matched by a -keep rule,
|
|
# hence the extra -keep rule for the subclasses of Navigator.
|
|
#
|
|
# A -keep rule for the Navigator.Name annotation class is not required
|
|
# since the annotation is referenced from the code.
|
|
-keepattributes RuntimeVisibleAnnotations
|
|
-keep,allowobfuscation,allowshrinking class * extends androidx.navigation.Navigator
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\b7676db182e8649f5d0abc2060478ecb\transformed\navigation-common-2.7.7\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\d56d3572ce2a6572b5091ef3ad37de27\transformed\savedstate-1.2.1\proguard.txt
|
|
# Copyright (C) 2019 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
-keepclassmembers,allowobfuscation class * implements androidx.savedstate.SavedStateRegistry$AutoRecreated {
|
|
<init>();
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\d56d3572ce2a6572b5091ef3ad37de27\transformed\savedstate-1.2.1\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\1212c4e64bed549c1baec74a045150b1\transformed\lifecycle-process-2.8.3\proguard.txt
|
|
# this rule is need to work properly when app is compiled with api 28, see b/142778206
|
|
-keepclassmembers class * extends androidx.lifecycle.EmptyActivityLifecycleCallbacks { *; }
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\1212c4e64bed549c1baec74a045150b1\transformed\lifecycle-process-2.8.3\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\470e097c1e0ef6511e6056b0229b8da9\transformed\lifecycle-runtime-compose-release\proguard.txt
|
|
# Workaround for https://issuetracker.google.com/issues/346808608
|
|
#
|
|
# `androidx.lifecycle.compose.LocalLifecycleOwner` will reflectively lookup for
|
|
# `androidx.compose.ui.platform.LocalLifecycleOwner` to ensure backward compatibility
|
|
# when using Lifecycle 2.8+ with Compose 1.6.
|
|
#
|
|
# We need to keep the getter if the code using this is included.
|
|
#
|
|
# We need to suppress `ShrinkerUnresolvedReference` because the `LocalComposition` is in a
|
|
# different module.
|
|
#
|
|
#noinspection ShrinkerUnresolvedReference
|
|
-if public class androidx.compose.ui.platform.AndroidCompositionLocals_androidKt {
|
|
public static *** getLocalLifecycleOwner();
|
|
}
|
|
-keep public class androidx.compose.ui.platform.AndroidCompositionLocals_androidKt {
|
|
public static *** getLocalLifecycleOwner();
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\470e097c1e0ef6511e6056b0229b8da9\transformed\lifecycle-runtime-compose-release\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\e0187515d63712390278d85b46fbf4ea\transformed\graphics-path-1.0.1\proguard.txt
|
|
-keepclasseswithmembers class androidx.graphics.path.** {
|
|
native <methods>;
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\e0187515d63712390278d85b46fbf4ea\transformed\graphics-path-1.0.1\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\1bfb95f0db18200d1b2418c3620c7f70\transformed\core-1.13.1\proguard.txt
|
|
# Never inline methods, but allow shrinking and obfuscation.
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.view.ViewCompat$Api* {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.view.WindowInsetsCompat$*Impl* {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.app.NotificationCompat$*$Api*Impl {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.os.UserHandleCompat$Api*Impl {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.widget.EdgeEffectCompat$Api*Impl {
|
|
<methods>;
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\1bfb95f0db18200d1b2418c3620c7f70\transformed\core-1.13.1\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\34ef3898959c9644a14371cab12c9d2a\transformed\lifecycle-runtime-release\proguard.txt
|
|
-keepattributes AnnotationDefault,
|
|
RuntimeVisibleAnnotations,
|
|
RuntimeVisibleParameterAnnotations,
|
|
RuntimeVisibleTypeAnnotations
|
|
|
|
-keepclassmembers enum androidx.lifecycle.Lifecycle$Event {
|
|
<fields>;
|
|
}
|
|
|
|
-keep class * implements androidx.lifecycle.GeneratedAdapter {
|
|
<init>(...);
|
|
}
|
|
|
|
-keepclassmembers class ** {
|
|
@androidx.lifecycle.OnLifecycleEvent *;
|
|
}
|
|
|
|
# this rule is need to work properly when app is compiled with api 28, see b/142778206
|
|
# Also this rule prevents registerIn from being inlined.
|
|
-keepclassmembers class androidx.lifecycle.ReportFragment$LifecycleCallbacks { *; }
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\34ef3898959c9644a14371cab12c9d2a\transformed\lifecycle-runtime-release\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\8fc62877abf51428d404fc4d7c6a5667\transformed\lifecycle-viewmodel-release\proguard.txt
|
|
-keepclassmembers,allowobfuscation class * extends androidx.lifecycle.ViewModel {
|
|
<init>();
|
|
}
|
|
|
|
-keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel {
|
|
<init>(android.app.Application);
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\8fc62877abf51428d404fc4d7c6a5667\transformed\lifecycle-viewmodel-release\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\df39e2979e4e7f1757818e368d049c89\transformed\lifecycle-viewmodel-savedstate-2.8.3\proguard.txt
|
|
-keepclassmembers,allowobfuscation class * extends androidx.lifecycle.ViewModel {
|
|
<init>(androidx.lifecycle.SavedStateHandle);
|
|
}
|
|
|
|
-keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel {
|
|
<init>(android.app.Application,androidx.lifecycle.SavedStateHandle);
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\df39e2979e4e7f1757818e368d049c89\transformed\lifecycle-viewmodel-savedstate-2.8.3\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\92150b9e95cac42ebadd4b2ae31467aa\transformed\ui-release\proguard.txt
|
|
# Copyright (C) 2020 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# We supply these as stubs and are able to link to them at runtime
|
|
# because they are hidden public classes in Android. We don't want
|
|
# R8 to complain about them not being there during optimization.
|
|
-dontwarn android.view.RenderNode
|
|
-dontwarn android.view.DisplayListCanvas
|
|
-dontwarn android.view.HardwareCanvas
|
|
|
|
-keepclassmembers class androidx.compose.ui.platform.ViewLayerContainer {
|
|
protected void dispatchGetDisplayList();
|
|
}
|
|
|
|
-keepclassmembers class androidx.compose.ui.platform.AndroidComposeView {
|
|
android.view.View findViewByAccessibilityIdTraversal(int);
|
|
}
|
|
|
|
# Users can create Modifier.Node instances that implement multiple Modifier.Node interfaces,
|
|
# so we cannot tell whether two modifier.node instances are of the same type without using
|
|
# reflection to determine the class type. See b/265188224 for more context.
|
|
-keep,allowshrinking class * extends androidx.compose.ui.node.ModifierNodeElement
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\92150b9e95cac42ebadd4b2ae31467aa\transformed\ui-release\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\04d00c4decf63ce4efd079d73a92f26c\transformed\runtime-release\proguard.txt
|
|
-assumenosideeffects public class androidx.compose.runtime.ComposerKt {
|
|
void sourceInformation(androidx.compose.runtime.Composer,java.lang.String);
|
|
void sourceInformationMarkerStart(androidx.compose.runtime.Composer,int,java.lang.String);
|
|
void sourceInformationMarkerEnd(androidx.compose.runtime.Composer);
|
|
}
|
|
|
|
# Composer's class initializer doesn't do anything but create an EMPTY object. Marking the
|
|
# initializers as having no side effects can help encourage shrinkers to merge/devirtualize Composer
|
|
# with ComposerImpl.
|
|
-assumenosideeffects public class androidx.compose.runtime.Composer {
|
|
void <clinit>();
|
|
}
|
|
-assumenosideeffects public class androidx.compose.runtime.ComposerImpl {
|
|
void <clinit>();
|
|
}
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\04d00c4decf63ce4efd079d73a92f26c\transformed\runtime-release\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\6eb9350b99dbb389d8036ebe256858b6\transformed\rules\lib\META-INF\com.android.tools\r8\coroutines.pro
|
|
# When editing this file, update the following files as well:
|
|
# - META-INF/proguard/coroutines.pro
|
|
# - META-INF/com.android.tools/proguard/coroutines.pro
|
|
|
|
# Most of volatile fields are updated with AFU and should not be mangled
|
|
-keepclassmembers class kotlinx.coroutines.** {
|
|
volatile <fields>;
|
|
}
|
|
|
|
# Same story for the standard library's SafeContinuation that also uses AtomicReferenceFieldUpdater
|
|
-keepclassmembers class kotlin.coroutines.SafeContinuation {
|
|
volatile <fields>;
|
|
}
|
|
|
|
# These classes are only required by kotlinx.coroutines.debug.AgentPremain, which is only loaded when
|
|
# kotlinx-coroutines-core is used as a Java agent, so these are not needed in contexts where ProGuard is used.
|
|
-dontwarn java.lang.instrument.ClassFileTransformer
|
|
-dontwarn sun.misc.SignalHandler
|
|
-dontwarn java.lang.instrument.Instrumentation
|
|
-dontwarn sun.misc.Signal
|
|
|
|
# Only used in `kotlinx.coroutines.internal.ExceptionsConstructor`.
|
|
# The case when it is not available is hidden in a `try`-`catch`, as well as a check for Android.
|
|
-dontwarn java.lang.ClassValue
|
|
|
|
# An annotation used for build tooling, won't be directly accessed.
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\6eb9350b99dbb389d8036ebe256858b6\transformed\rules\lib\META-INF\com.android.tools\r8\coroutines.pro
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\f560d660fda8a171f85977c7adbe3d47\transformed\rules\lib\META-INF\com.android.tools\r8-from-1.6.0\coroutines.pro
|
|
# Allow R8 to optimize away the FastServiceLoader.
|
|
# Together with ServiceLoader optimization in R8
|
|
# this results in direct instantiation when loading Dispatchers.Main
|
|
-assumenosideeffects class kotlinx.coroutines.internal.MainDispatcherLoader {
|
|
boolean FAST_SERVICE_LOADER_ENABLED return false;
|
|
}
|
|
|
|
-assumenosideeffects class kotlinx.coroutines.internal.FastServiceLoaderKt {
|
|
boolean ANDROID_DETECTED return true;
|
|
}
|
|
|
|
# Disable support for "Missing Main Dispatcher", since we always have Android main dispatcher
|
|
-assumenosideeffects class kotlinx.coroutines.internal.MainDispatchersKt {
|
|
boolean SUPPORT_MISSING return false;
|
|
}
|
|
|
|
# Statically turn off all debugging facilities and assertions
|
|
-assumenosideeffects class kotlinx.coroutines.DebugKt {
|
|
boolean getASSERTIONS_ENABLED() return false;
|
|
boolean getDEBUG() return false;
|
|
boolean getRECOVER_STACK_TRACES() return false;
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\f560d660fda8a171f85977c7adbe3d47\transformed\rules\lib\META-INF\com.android.tools\r8-from-1.6.0\coroutines.pro
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\2fffe30d857357c3cdd33bc539227805\transformed\rules\lib\META-INF\proguard\okhttp3.pro
|
|
# JSR 305 annotations are for embedding nullability information.
|
|
-dontwarn javax.annotation.**
|
|
|
|
# A resource is loaded with a relative path so the package of this class must be preserved.
|
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
|
|
|
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
# OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
|
|
-dontwarn okhttp3.internal.platform.**
|
|
-dontwarn org.conscrypt.**
|
|
-dontwarn org.bouncycastle.**
|
|
-dontwarn org.openjsse.**
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\2fffe30d857357c3cdd33bc539227805\transformed\rules\lib\META-INF\proguard\okhttp3.pro
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\95daac6b5b844abe2b46795841c354f2\transformed\startup-runtime-1.1.1\proguard.txt
|
|
# It's important that we preserve initializer names, given they are used in the AndroidManifest.xml.
|
|
-keepnames class * extends androidx.startup.Initializer
|
|
|
|
# These Proguard rules ensures that ComponentInitializers are are neither shrunk nor obfuscated,
|
|
# and are a part of the primary dex file. This is because they are discovered and instantiated
|
|
# during application startup.
|
|
-keep class * extends androidx.startup.Initializer {
|
|
# Keep the public no-argument constructor while allowing other methods to be optimized.
|
|
<init>();
|
|
}
|
|
|
|
-assumenosideeffects class androidx.startup.StartupLogger { public static <methods>; }
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\95daac6b5b844abe2b46795841c354f2\transformed\startup-runtime-1.1.1\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\02d8202c9a78d1808210b1291e14a0f9\transformed\versionedparcelable-1.1.1\proguard.txt
|
|
-keep class * implements androidx.versionedparcelable.VersionedParcelable
|
|
-keep public class android.support.**Parcelizer { *; }
|
|
-keep public class androidx.**Parcelizer { *; }
|
|
-keep public class androidx.versionedparcelable.ParcelImpl
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\02d8202c9a78d1808210b1291e14a0f9\transformed\versionedparcelable-1.1.1\proguard.txt
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\aa790f5b741bd118b3b5ad7d571b3c67\transformed\rules\lib\META-INF\proguard\androidx-annotations.pro
|
|
-keep,allowobfuscation @interface androidx.annotation.Keep
|
|
-keep @androidx.annotation.Keep class * {*;}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@androidx.annotation.Keep <methods>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@androidx.annotation.Keep <fields>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@androidx.annotation.Keep <init>(...);
|
|
}
|
|
|
|
-keepclassmembers,allowobfuscation class * {
|
|
@androidx.annotation.DoNotInline <methods>;
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\aa790f5b741bd118b3b5ad7d571b3c67\transformed\rules\lib\META-INF\proguard\androidx-annotations.pro
|
|
# The proguard configuration file for the following section is C:\Users\Viper\.gradle\caches\transforms-4\6be2d6fc59a08ef9da1997e7d5426773\transformed\rules\lib\META-INF\proguard\gson.pro
|
|
### Gson ProGuard and R8 rules which are relevant for all users
|
|
### This file is automatically recognized by ProGuard and R8, see https://developer.android.com/build/shrink-code#configuration-files
|
|
###
|
|
### IMPORTANT:
|
|
### - These rules are additive; don't include anything here which is not specific to Gson (such as completely
|
|
### disabling obfuscation for all classes); the user would be unable to disable that then
|
|
### - These rules are not complete; users will most likely have to add additional rules for their specific
|
|
### classes, for example to disable obfuscation for certain fields or to keep no-args constructors
|
|
###
|
|
|
|
# Keep generic signatures; needed for correct type resolution
|
|
-keepattributes Signature
|
|
|
|
# Keep Gson annotations
|
|
# Note: Cannot perform finer selection here to only cover Gson annotations, see also https://stackoverflow.com/q/47515093
|
|
-keepattributes RuntimeVisibleAnnotations,AnnotationDefault
|
|
|
|
### The following rules are needed for R8 in "full mode" which only adheres to `-keepattribtues` if
|
|
### the corresponding class or field is matches by a `-keep` rule as well, see
|
|
### https://r8.googlesource.com/r8/+/refs/heads/main/compatibility-faq.md#r8-full-mode
|
|
|
|
# Keep class TypeToken (respectively its generic signature) if present
|
|
-if class com.google.gson.reflect.TypeToken
|
|
-keep,allowobfuscation class com.google.gson.reflect.TypeToken
|
|
|
|
# Keep any (anonymous) classes extending TypeToken
|
|
-keep,allowobfuscation class * extends com.google.gson.reflect.TypeToken
|
|
|
|
# Keep classes with @JsonAdapter annotation
|
|
-keep,allowobfuscation,allowoptimization @com.google.gson.annotations.JsonAdapter class *
|
|
|
|
# Keep fields with any other Gson annotation
|
|
# Also allow obfuscation, assuming that users will additionally use @SerializedName or
|
|
# other means to preserve the field names
|
|
-keepclassmembers,allowobfuscation class * {
|
|
@com.google.gson.annotations.Expose <fields>;
|
|
@com.google.gson.annotations.JsonAdapter <fields>;
|
|
@com.google.gson.annotations.Since <fields>;
|
|
@com.google.gson.annotations.Until <fields>;
|
|
}
|
|
|
|
# Keep no-args constructor of classes which can be used with @JsonAdapter
|
|
# By default their no-args constructor is invoked to create an adapter instance
|
|
-keepclassmembers class * extends com.google.gson.TypeAdapter {
|
|
<init>();
|
|
}
|
|
-keepclassmembers class * implements com.google.gson.TypeAdapterFactory {
|
|
<init>();
|
|
}
|
|
-keepclassmembers class * implements com.google.gson.JsonSerializer {
|
|
<init>();
|
|
}
|
|
-keepclassmembers class * implements com.google.gson.JsonDeserializer {
|
|
<init>();
|
|
}
|
|
|
|
# Keep fields annotated with @SerializedName for classes which are referenced.
|
|
# If classes with fields annotated with @SerializedName have a no-args
|
|
# constructor keep that as well. Based on
|
|
# https://issuetracker.google.com/issues/150189783#comment11.
|
|
# See also https://github.com/google/gson/pull/2420#discussion_r1241813541
|
|
# for a more detailed explanation.
|
|
-if class *
|
|
-keepclasseswithmembers,allowobfuscation class <1> {
|
|
@com.google.gson.annotations.SerializedName <fields>;
|
|
}
|
|
-if class * {
|
|
@com.google.gson.annotations.SerializedName <fields>;
|
|
}
|
|
-keepclassmembers,allowobfuscation,allowoptimization class <1> {
|
|
<init>();
|
|
}
|
|
|
|
# End of content from C:\Users\Viper\.gradle\caches\transforms-4\6be2d6fc59a08ef9da1997e7d5426773\transformed\rules\lib\META-INF\proguard\gson.pro
|
|
# The proguard configuration file for the following section is C:\Users\Viper\Desktop\deskhub\mobile\build\intermediates\aapt_proguard_file\release\processReleaseResources\aapt_rules.txt
|
|
-keep class androidx.core.app.CoreComponentFactory { <init>(); }
|
|
-keep class androidx.profileinstaller.ProfileInstallReceiver { <init>(); }
|
|
-keep class androidx.startup.InitializationProvider { <init>(); }
|
|
-keep class de.deskhub.staff.MainActivity { <init>(); }
|
|
|
|
# End of content from C:\Users\Viper\Desktop\deskhub\mobile\build\intermediates\aapt_proguard_file\release\processReleaseResources\aapt_rules.txt
|
|
# The proguard configuration file for the following section is <unknown>
|
|
|
|
# End of content from <unknown> |