Skip to content
ProGuard, Java optimizer and obfuscator
Java IDL Groovy Shell HTML Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
annotations Created ProGuard version 6.1.1. Jun 7, 2019
ant Created ProGuard version 6.1.1. Jun 7, 2019
bin Created ProGuard version 5.0. Aug 19, 2014
buildscripts Created ProGuard version 6.1.1. Jun 7, 2019
core Created ProGuard version 6.1.1. Jun 7, 2019
examples Created ProGuard version 6.1.1. Jun 7, 2019
gradle Created ProGuard version 6.1.1. Jun 7, 2019
gui
retrace Created ProGuard version 6.1.1. Jun 7, 2019
wtk Created ProGuard version 6.1.1. Jun 7, 2019
.gitignore Created ProGuard version 6.1.0. May 9, 2019
.hgignore Created ProGuard version 6.1.0. May 9, 2019
LICENSE.md Created ProGuard version 6.1.0. May 9, 2019
LICENSE_exception.md Created ProGuard version 6.1.0. May 9, 2019
README Created ProGuard version 6.0. Feb 4, 2018
README.md Created ProGuard version 6.1.0. May 9, 2019

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

You can’t perform that action at this time.