1
0
mirror of https://e.coding.net/circlecloud/RocketJump.git synced 2024-11-23 15:08:51 +00:00
RocketJump/proguard.conf
502647092 5cdbe152d4 添加混淆 修复命令处理...
Signed-off-by: 502647092 <jtb1@163.com>
2016-02-23 13:55:50 +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