yGuard
is an open-source Java obfuscation tool. With yGuard
it is easy as pie 🍰 to configure obfuscation through an extensive ant
task.
yGuard is brought to you by yWorks GmbH, creator of the family of graph and diagram visualization frameworks yFiles and other fine products.
Recent yGuard
releases can be downloaded from GitHub, or used from Maven
central directly.
Legacy code ported from retroguard
under LGPL
is compiled into a seperate archive called retroguard-${VERSION}.jar
.
Previous releases may still be downloaded from the yWorks download center.
An online version of this documentation is available.
Additionally, yGuard
is distributed with usage instructions. In your distribution, the docs
folder contains informtion about yGuard
. Browse docs/index.html
to view the documentation.
To build yGuard
you will need Java >= 7
.
Once installed you can build yGuard
using ./gradlew build
.
The bundle version (for Ant users) is built using the assembleBundleDist
task (e.g ./gradlew assembleBundleDist
), taking a optional parameter to copy documentation (-Pcopy-docs
).
In order to build the documentation you will need mkdocs:
pip3 install mkdocs # or use a virtual environment if you prefer
mkdocs build
yGuard
will be loaded without further ado from IntellIJ
thanks to the Gradle integration.
Opening the yGuard
folder will set up Gradle and mark sources, tests and resources accordingly.