-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.cfg
37 lines (27 loc) · 1.09 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
# Default options
#-dontobfuscate
#-dontshrink
#-dontoptimize
# We don't care
-ignorewarnings
# No spam, please
-dontwarn
-dontnote
# Obfuscation Options
-printmapping SamplePlugin.map
-dontusemixedcaseclassnames
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,LocalVariable*Table,*Annotation*,Synthetic,EnclosingMethod,*EventHandler*,EventHandler,*Override*,Override
-keepclassmembers enum ** {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class ** {@org.bukkit.event.EventHandler *;}
-keepclassmembers class ** {@com.github.hexocraftapi.configuration.annotation.* *;}
-keepclassmembers class ** extends org.bukkit.event.Event {*;}
-keepclassmembers class ** extends org.bukkit.commandName.CommandExecutor {*;}
-keepclassmembernames class ** extends com.github.hexocraftapi.configuration.Configuration {
public java.lang.Object serialize(...);
public java.lang.Object deserialize(...);
}
-flattenpackagehierarchy 'com.github.hexocraftapi.sampleplugin'
-keep class com.github.hexocraft.sampleplugin.SamplePlugin