yWorks / yGuard

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

Home Page:https://yworks.github.io/yGuard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The demo for example (/examples/resources/) is not valid. After the maven package is packaged, the package structure and resource contents of the jar file are not changed.

xhc-code opened this issue · comments

The demo for example (/examples/resources/) is not valid. After the maven package is packaged, the package structure and resource contents of the jar file are not changed.

You are right, that demo does not work as intended. We will try to improve the demo for a future version of yGuard.

If you need to adjust resource file names and resource file contents, use a single adjust element instead of three:

<adjust replaceContent="true" replaceContentSeparator="." replaceName="true">
  <include name="**/*.properties"/>
</adjust>

Please see the adjust element documentation for further configuration options and examples.

Ok, thank you