-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathproguard.pro
More file actions
41 lines (37 loc) · 1.41 KB
/
proguard.pro
File metadata and controls
41 lines (37 loc) · 1.41 KB
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
-ignorewarnings
-dump build/class_files.txt
-printseeds build/seeds.txt
-printusage build/unused.txt
-printmapping build/mapping.txt
-keepattributes SourceFile,LineNumberTable
# We only want minification, not obfuscation.
#-dontobfuscate
-verbose
# Keep annotations
#-keepattributes *Annotation*
-keepattributes RuntimeVisibleAnnotations
#-keepattributes Signature
# Entry point to the app.
-keep class me.phantomx.fjetpack.two.reloaded.fjetpack2reloaded.FJetpack2Reloaded { *; }
#-keep class me.ryanhamshire.GriefPrevention.** { *; }
#-keep class com.bgsoftware.superiorskyblock.** { *; }
-keepclassmembers,allowobfuscation class * {
@org.bukkit.event.EventHandler <methods>;
}
-keep,allowobfuscation @me.phantomx.fjetpack.two.reloaded.fjetpack2reloaded.annotation.SectionPath class *
# Keep data
-keepclassmembernames class me.phantomx.fjetpack.two.reloaded.fjetpack2reloaded.data.** { private *; }
# Keep enums
-keepclassmembers class * extends java.lang.Enum {
<fields>;
public static **[] values();
public static ** valueOf(java.lang.String);
}
# Remove logs
-assumenosideeffects class me.phantomx.fjetpack.two.reloaded.fjetpack2reloaded.logging.Log {
public static *** log(...);
public *** debug(...);
}
# keep event's
-keep,allowobfuscation class me.phantomx.fjetpack.two.reloaded.fjetpack2reloaded.event.** { *; }
-keep,allowobfuscation class me.phantomx.fjetpack.two.reloaded.fjetpack2reloaded.hook.** { *; }