ProGuard manual

    Building ProGuard

    Info

    ProGuard is distributed under the terms of the GNU General Public License. Please consult the license page for more details.

    Building ProGuard is easy - you'll need:

    • a Java 8 JDK installed
    • a clone of the ProGuard repository

    You can then execute a composite build with the following Gradle command:

    ./gradlew assemble
    gradlew assemble

    The artifacts will be generated in the lib directory. You can then execute ProGuard using the scripts in bin, for example:

    bin/proguard.sh
    bin\proguard.bat

    Publish to Maven local

    You can publish the artifacts to your local Maven cache (something like ~/.m2/):

    ./gradlew publishToMavenLocal
    gradlew publishToMavenLocal

    Building a release distribution

    You can build tar and zip archives with the binaries and documentation:

    ./gradlew distTar distZip
    gradlew distTar distZip