-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathproguard.cfg
57 lines (46 loc) · 2 KB
/
proguard.cfg
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
-optimizationpasses 5
-verbose
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable,Signature
-dontwarn com.badlogic.gdx.jnigen.**
-dontwarn java.awt.**
-dontwarn com.badlogic.**
-dontwarn org.lwjgl.**
-dontnote java.awt.**
-dontnote com.badlogic.**
-dontnote org.lwjgl.**
-keep class org.lwjgl.** { *; }
-keep class com.badlogic.** { *; }
-keep class * implements com.badlogic.gdx.utils.Json*
-keepnames class * implements java.io.Serializable
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
!static !transient <fields>;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
#BludBourne specific
-keep public class com.packtpub.libgdx.bludbourne.desktop.DesktopLauncher{
public static void main(java.lang.String[]);
}
-keepclassmembers class com.packtpub.libgdx.bludbourne.EntityConfig{ *; }
-keepclassmembers class com.packtpub.libgdx.bludbourne.EntityConfig$AnimationConfig{ *; }
-keepclassmembers class com.packtpub.libgdx.bludbourne.dialog.ConversationGraph{ *; }
-keepclassmembers class com.packtpub.libgdx.bludbourne.quest.QuestGraph{ *; }
-keepclassmembers class com.packtpub.libgdx.bludbourne.battle.LevelTable{ *; }
-keepclassmembers class com.packtpub.libgdx.bludbourne.battle.MonsterZone{ *; }
-keepclassmembers class com.packtpub.libgdx.bludbourne.InventoryItem{ *; }
-keep class com.packtpub.libgdx.bludbourne.dialog.ConversationChoice{ *; }
-keep class com.packtpub.libgdx.bludbourne.dialog.Conversation{ *; }
-keep class com.packtpub.libgdx.bludbourne.quest.QuestTask{ *; }
-keep class com.packtpub.libgdx.bludbourne.quest.QuestTaskDependency{ *; }