mirror of
https://e.coding.net/circlecloud/JumpPlate.git
synced 2024-12-28 07:49:11 +00:00
1fd9b9ed1d
Signed-off-by: 502647092 <jtb1@163.com>
34 lines
894 B
Plaintext
34 lines
894 B
Plaintext
# -----不优化-----
|
|
-dontoptimize
|
|
|
|
# -----忽略所有警告-----
|
|
-dontwarn
|
|
-dontnote
|
|
|
|
# -----混淆时应用侵入式重载-----
|
|
-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 |