36

GitHub - Guardsquare/proguard: ProGuard, Java optimizer and obfuscator

 4 years ago
source link: https://github.com/Guardsquare/proguard
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

ProGuard, Java bytecode optimizer and obfuscator

This distribution contains the following directories:

  • bin : simple wrapper scripts to run ProGuard, its GUI, and ReTrace
  • lib : the main jars, compiled and ready to use with "java -jar ...."
  • examples : some example configuration files and projects

It also contains the source code and build scripts:

  • core : the ProGuard core
  • retrace : the ReTrace tool
  • gui : the ProGuard/ReTrace GUI
  • gradle : the ProGuard Gradle plugin
  • ant : the ProGuard Ant plugin
  • wtk : the ProGuard WTK plugin
  • annotations : the optional annotations to configure ProGuard
  • buildscripts : various alternative build scripts

The best place to start is the on-line manual.

Example

If you want to give ProGuard a spin right away, try processing the ProGuard jar itself:

cd examples/standalone
../../bin/proguard.sh @ proguard.pro

The resulting proguard_out.jar contains the same application, but it's a lot smaller.

Android example

If you want to see this version of ProGuard integrated in an Android project, you can look at the small Android HelloWorld project:

cd examples/android
gradle assembleRelease

Downloads

You can download ProGuard in various forms:

Enjoy!

https://www.guardsquare.com/proguard

Copyright (c) 2002-2019 Guardsquare NV


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK