Use maven + yguard

Has anyone used maven and yguard to obfuscate jar files? How to do it?

+3
source share
3 answers

I did obfuscation using yguardat Maven. I used the maven ant plugin to run ant tasks.

Steps:

  • Refer to build.xmlat pom.xml. Check the plugin documentation Maven Antrun. You have many examples there.
  • Create build.xmlwith rename elements as required by your project / bank. If you want to reference Maven links, such as project information, define them as properties in pom.xmlbefore executing the ant task

, , .

+4

ProGuard maven, , .

0

Here is a maven template can help you.

0
source

Source: https://habr.com/ru/post/1746327/


All Articles