2025-06-30 09:38:03 +08:00

36 lines
1.2 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<config>
<input>
<jar in="${project.build.finalName}.jar" out="${project.build.finalName}.jar"/>
</input>
<keep-names>
<class access="protected+">
<field access="protected+"/>
<method access="protected+"/>
</class>
</keep-names>
<ignore-classes>
<!-- 注意spring的框架相关的文件需要排除避免启动报错 -->
<class template="class jnpf.properties.ReportProperties"/>
</ignore-classes>
<!-- 混淆设置 -->
<!--随机类名保持小写-->
<property name="classes-naming" value="abc"/>
<!-- 接口形参名保持不变 -->
<property name="local-variables-naming" value="keep-parameters"/>
<!-- 字符串加密 -->
<property name="string-encryption" value="maximum"/>
<property name="string-encryption-type" value="strong"/>
<property name="string-encryption-version" value="v4"/>
<!-- 行数混淆 -->
<property name="line-numbers" value="obfuscate"/>
<!-- 成员重新排序 -->
<property name="member-reorder" value="enable"/>
<!-- 数据jar压缩等级 -->
<property name="output-jar-compression-level" value="9"/>
<property name="log-file" value="log.xml"/>
</config>