forked from jsnimda/Inventory-Profiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.txt
43 lines (36 loc) · 2.01 KB
/
proguard.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
-libraryjars <java.home>/lib/rt.jar
-keep class !io.github.jsnimda.common.embedded.** { *; }
#-ignorewarnings
-optimizationpasses 5 # (828K -> 811K)
#-dontobfuscate
-dontwarn org.jetbrains.annotations.**
-dontwarn javax.annotation.**
-keepattributes *Annotation*
#-dontoptimize
# https://stackoverflow.com/questions/33189249/how-to-tell-proguard-to-keep-enum-constants-and-fields
#-keepclassmembers class * extends java.lang.Enum {
# <fields>;
# public static **[] values();
# public static ** valueOf(java.lang.String);
#}
# min build
#-keep class io.github.jsnimda.common.mixin.** { *; }
#-keep class io.github.jsnimda.inventoryprofiles.mixin.** { *; }
#-keep class io.github.jsnimda.inventoryprofiles.InventoryProfilesKt { *; }
#-keep class io.github.jsnimda.inventoryprofiles.compat.** { *; }
#-keep class io.github.jsnimda.inventoryprofiles.config.** { *; }
# https://proandroiddev.com/is-your-kotlin-code-really-obfuscated-a36abf033dde
-assumenosideeffects class io.github.jsnimda.common.embedded.kotlin.jvm.internal.Intrinsics {
public static void checkExpressionValueIsNotNull(java.lang.Object, java.lang.String);
public static void checkFieldIsNotNull(java.lang.Object, java.lang.String);
public static void checkFieldIsNotNull(java.lang.Object, java.lang.String, java.lang.String);
public static void checkNotNull(java.lang.Object);
public static void checkNotNull(java.lang.Object, java.lang.String);
public static void checkNotNullExpressionValue(java.lang.Object, java.lang.String);
public static void checkNotNullParameter(java.lang.Object, java.lang.String);
public static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
public static void checkReturnedValueIsNotNull(java.lang.Object, java.lang.String);
public static void checkReturnedValueIsNotNull(java.lang.Object, java.lang.String, java.lang.String);
public static void throwUninitializedPropertyAccessException(java.lang.String);
}
#-assumenosideeffects class io.github.jsnimda.common.embedded.kotlin.jvm.internal.Intrinsics { *; }