372 lines
18 KiB
Plaintext
372 lines
18 KiB
Plaintext
# The proguard configuration file for the following section is /home/xuser/Projects/rust/fileshare/android/app/build/intermediates/default_proguard_files/global/proguard-android-optimize.txt-8.2.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.
|
|
# Adding optimization introduces certain risks, since for example not all optimizations performed by
|
|
# ProGuard works on all versions of Dalvik. The following flags turn off various optimizations
|
|
# known to have issues, but the list may not be complete or up to date. (The "arithmetic"
|
|
# optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test
|
|
# thoroughly if you go this route.
|
|
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
|
|
-optimizationpasses 5
|
|
-allowaccessmodification
|
|
|
|
-dontusemixedcaseclassnames
|
|
-dontskipnonpubliclibraryclasses
|
|
-verbose
|
|
|
|
# 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 http://proguard.sourceforge.net/manual/examples.html#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 http://proguard.sourceforge.net/manual/examples.html#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.**
|
|
|
|
# This class is deprecated, but remains for backward compatibility.
|
|
-dontwarn android.util.FloatMath
|
|
|
|
# Understand the @Keep support annotation.
|
|
-keep class android.support.annotation.Keep
|
|
-keep class androidx.annotation.Keep
|
|
|
|
-keep @android.support.annotation.Keep class * {*;}
|
|
-keep @androidx.annotation.Keep class * {*;}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@android.support.annotation.Keep <methods>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@androidx.annotation.Keep <methods>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@android.support.annotation.Keep <fields>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@androidx.annotation.Keep <fields>;
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@android.support.annotation.Keep <init>(...);
|
|
}
|
|
|
|
-keepclasseswithmembers class * {
|
|
@androidx.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 /home/xuser/Projects/rust/fileshare/android/app/build/intermediates/default_proguard_files/global/proguard-android-optimize.txt-8.2.2
|
|
# The proguard configuration file for the following section is /home/xuser/Projects/rust/fileshare/android/app/proguard-rules.pro
|
|
-keep class com.ramshare.app.RamshareNative {
|
|
*;
|
|
}
|
|
|
|
# End of content from /home/xuser/Projects/rust/fileshare/android/app/proguard-rules.pro
|
|
# The proguard configuration file for the following section is /home/xuser/Projects/rust/fileshare/android/app/build/intermediates/aapt_proguard_file/release/aapt_rules.txt
|
|
-keep class androidx.core.app.CoreComponentFactory { <init>(); }
|
|
-keep class androidx.core.content.FileProvider { <init>(); }
|
|
-keep class androidx.profileinstaller.ProfileInstallReceiver { <init>(); }
|
|
-keep class androidx.startup.InitializationProvider { <init>(); }
|
|
-keep class com.ramshare.app.MainActivity { <init>(); }
|
|
-keep class com.ramshare.app.RamshareService { <init>(); }
|
|
|
|
# End of content from /home/xuser/Projects/rust/fileshare/android/app/build/intermediates/aapt_proguard_file/release/aapt_rules.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/165148a5632eca232c7755e5d0d74563/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
|
|
|
|
-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 /home/xuser/.gradle/caches/transforms-3/165148a5632eca232c7755e5d0d74563/transformed/ui-release/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/440a64c1659b3784956be1ef27019da1/transformed/core-1.12.0/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 /home/xuser/.gradle/caches/transforms-3/440a64c1659b3784956be1ef27019da1/transformed/core-1.12.0/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/01096349b0936ba7f741e909295c017b/transformed/lifecycle-process-2.7.0/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 /home/xuser/.gradle/caches/transforms-3/01096349b0936ba7f741e909295c017b/transformed/lifecycle-process-2.7.0/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/3d04aff4df0f768f379e34d5f0b314db/transformed/lifecycle-viewmodel-2.7.0/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 /home/xuser/.gradle/caches/transforms-3/3d04aff4df0f768f379e34d5f0b314db/transformed/lifecycle-viewmodel-2.7.0/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/c0811ff559e841342aebad900e726f1e/transformed/lifecycle-runtime-2.7.0/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 /home/xuser/.gradle/caches/transforms-3/c0811ff559e841342aebad900e726f1e/transformed/lifecycle-runtime-2.7.0/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/040de899e265d6c45a386fd0e5e15c65/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 /home/xuser/.gradle/caches/transforms-3/040de899e265d6c45a386fd0e5e15c65/transformed/savedstate-1.2.1/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/aca27ab5518a0c1fb21b10cba587b1e9/transformed/lifecycle-viewmodel-savedstate-2.7.0/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 /home/xuser/.gradle/caches/transforms-3/aca27ab5518a0c1fb21b10cba587b1e9/transformed/lifecycle-viewmodel-savedstate-2.7.0/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/bdb73c5007ed74f0c3f0ff3edd27ccd9/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 /home/xuser/.gradle/caches/transforms-3/bdb73c5007ed74f0c3f0ff3edd27ccd9/transformed/runtime-release/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/7903af435302c8653c03ab890c6c7184/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 /home/xuser/.gradle/caches/transforms-3/7903af435302c8653c03ab890c6c7184/transformed/rules/lib/META-INF/com.android.tools/r8/coroutines.pro
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/56ed67402f07a2047638b0952d5aa174/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 /home/xuser/.gradle/caches/transforms-3/56ed67402f07a2047638b0952d5aa174/transformed/rules/lib/META-INF/com.android.tools/r8-from-1.6.0/coroutines.pro
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/a80f11189515b49da8eeba05c8021fb4/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 /home/xuser/.gradle/caches/transforms-3/a80f11189515b49da8eeba05c8021fb4/transformed/versionedparcelable-1.1.1/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/6ff610d5b5eece47f38e51599785a189/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 /home/xuser/.gradle/caches/transforms-3/6ff610d5b5eece47f38e51599785a189/transformed/startup-runtime-1.1.1/proguard.txt
|
|
# The proguard configuration file for the following section is /home/xuser/.gradle/caches/transforms-3/a70ccdb3c3971af40e14253e7a41f1fe/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 /home/xuser/.gradle/caches/transforms-3/a70ccdb3c3971af40e14253e7a41f1fe/transformed/rules/lib/META-INF/proguard/androidx-annotations.pro
|
|
# The proguard configuration file for the following section is <unknown>
|
|
|
|
# End of content from <unknown> |