1
0
mirror of https://e.coding.net/circlecloud/JumpPlate.git synced 2024-12-28 07:49:11 +00:00
JumpPlate/proguard.conf
502647092 4785040c3e 调整文件结构 添加混淆机制...
Signed-off-by: 502647092 <jtb1@163.com>
2016-02-22 18:27:40 +08:00

34 lines
891 B
Plaintext

# -----不优化-----
-dontoptimize
# -----忽略所有警告-----
-ignorewarnings
# -----混淆时应用侵入式重载-----
-overloadaggressively
# -----保留所有属性
-keepattributes **
# -----公共数据不混淆-----
-keep class cn.citycraft.CommonData.** {*;}
# -----保护所有实体中的字段名称-----
-keepclassmembers class * implements java.io.Serializable { <fields>; }
# -----保护监听方法不被清理-----
-keepclassmembers class * implements org.bukkit.event.Listener
{
@org.bukkit.event.EventHandler <methods>;
}
# -----保护注解命令方法不被清理-----
-keepclassmembers class * implements **.commands.HandlerCommands
{
@**.commands.HandlerCommand <methods>;
@**.commands.HandlerTabComplete <methods>;
}
# -----保护命令解析正常-----
-keepnames class * extends **.commands.BaseCommand