0% found this document useful (0 votes)
50 views4 pages

ProGuard Configuration for Android Apps

Config

Uploaded by

Souhail RAZZOUK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views4 pages

ProGuard Configuration for Android Apps

Config

Uploaded by

Souhail RAZZOUK
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

# The proguard configuration file for the following section is /tmp/pwabuilder-

cloudapk--18-ObNw31U1RJmo/app/build/intermediates/default_proguard_files/global/
[Link]-8.5.0
# This is a configuration file for ProGuard.
# [Link]
#
# 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.

# Optimization is turned off by default. Dex does not like code run
# through the ProGuard optimize steps (and performs some
# of these optimizations on its own).
# Note that if you want to enable optimization, you cannot just
# include optimization flags in your own project configuration file;
# instead you will need to point to the
# "[Link]" file instead of this one from your
# [Link] file.
-dontoptimize

# Preserve some attributes that may be required for reflection.


-keepattributes AnnotationDefault,
EnclosingMethod,
InnerClasses,
RuntimeVisibleAnnotations,
RuntimeVisibleParameterAnnotations,
RuntimeVisibleTypeAnnotations,
Signature

-keep public class [Link]


-keep public class [Link]
-keep public class [Link]
-dontnote [Link]
-dontnote [Link]
-dontnote [Link]

# For native methods, see


[Link]
-keepclasseswithmembernames,includedescriptorclasses class * {
native <methods>;
}

# Keep setters in Views so that animations can still work.


-keepclassmembers public class * extends [Link] {
void set*(***);
*** get*();
}

# We want to keep methods in Activity that could be used in the XML attribute
onClick.
-keepclassmembers class * extends [Link] {
public void *([Link]);
}

# For enumeration classes, see


[Link]
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf([Link]);
}

-keepclassmembers class * implements [Link] {


public static final ** CREATOR;
}

# Preserve annotated Javascript interface methods.


-keepclassmembers class * {
@[Link] <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 [Link].**
-dontnote androidx.**
-dontwarn [Link].**
-dontwarn androidx.**

# Understand the @Keep support annotation.


-keep class [Link]

-keep @[Link] class * {*;}

-keepclasseswithmembers class * {
@[Link] <methods>;
}

-keepclasseswithmembers class * {
@[Link] <fields>;
}

-keepclasseswithmembers class * {
@[Link] <init>(...);
}

# These classes are duplicated between [Link] and [Link].


-dontnote [Link].**
-dontnote [Link].**

# These classes are duplicated between [Link] and [Link].


-dontnote [Link].**

# End of content from


/tmp/pwabuilder-cloudapk--18-ObNw31U1RJmo/app/build/intermediates/
default_proguard_files/global/[Link]-8.5.0
# The proguard configuration file for the following section is
/root/.gradle/caches/8.8/transforms/2144911bb09dce3a07f407e3b390637e/transformed/
core-1.1.0/[Link]
# aapt2 is not (yet) keeping FQCNs defined in the appComponentFactory <application>
attribute
-keep class [Link]

# End of content from


/root/.gradle/caches/8.8/transforms/2144911bb09dce3a07f407e3b390637e/transformed/
core-1.1.0/[Link]
# The proguard configuration file for the following section is
/root/.gradle/caches/8.8/transforms/2fd04857057ce230bd6016b4ac1ced40/transformed/
versionedparcelable-1.1.0/[Link]
-keep public class * implements [Link]
-keep public class [Link].**Parcelizer { *; }
-keep public class androidx.**Parcelizer { *; }
-keep public class [Link]

# End of content from


/root/.gradle/caches/8.8/transforms/2fd04857057ce230bd6016b4ac1ced40/transformed/
versionedparcelable-1.1.0/[Link]
# The proguard configuration file for the following section is
/root/.gradle/caches/8.8/transforms/42a26476301fce7c411d750596c2fc56/transformed/
rules/lib/META-INF/proguard/[Link]
-keep,allowobfuscation @interface [Link]
-keep @[Link] class * {*;}

-keepclasseswithmembers class * {
@[Link] <methods>;
}

-keepclasseswithmembers class * {
@[Link] <fields>;
}

-keepclasseswithmembers class * {
@[Link] <init>(...);
}

# End of content from


/root/.gradle/caches/8.8/transforms/42a26476301fce7c411d750596c2fc56/transformed/
rules/lib/META-INF/proguard/[Link]
# The proguard configuration file for the following section is
/root/.gradle/caches/8.8/transforms/e807fb6701c5feba89b5db3fc097d290/transformed/
lifecycle-runtime-2.0.0/[Link]
-keepattributes *Annotation*

-keepclassmembers enum [Link]$Event {


<fields>;
}

-keep !interface * implements [Link] {


}

-keep class * implements [Link] {


<init>(...);
}

-keepclassmembers class ** {
@[Link] *;
}
# End of content from
/root/.gradle/caches/8.8/transforms/e807fb6701c5feba89b5db3fc097d290/transformed/
lifecycle-runtime-2.0.0/[Link]
# The proguard configuration file for the following section is /tmp/pwabuilder-
cloudapk--18-ObNw31U1RJmo/app/build/intermediates/aapt_proguard_file/release/
processReleaseResources/aapt_rules.txt
-keep class [Link] { <init>(); }
-keep class [Link] { <init>(); }
-keep class [Link] { <init>(); }
-keep class [Link]
{ <init>(); }
-keep class
[Link]
{ <init>(); }
-keep class [Link]
{ <init>(); }
-keep class com.nord_lock.fastener_standards.[Link] { <init>(); }
-keep class com.nord_lock.fastener_standards.[Link] { <init>(); }
-keep class com.nord_lock.fastener_standards.[Link] { <init>(); }
-keep class [Link]
{ <init>([Link], [Link]); }

# End of content from


/tmp/pwabuilder-cloudapk--18-ObNw31U1RJmo/app/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>

You might also like