ProGuard is a free shrinker, optimizer, obfuscator, and preverifier for Java bytecode. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. ProGuard can be run as a task in Gradle. Before you can use the proguard task, you have to make sure Gradle can find it in its class path at build time. One way is to add the following line to your build.gradle file which will download ProGuard from Maven Central. ProGuard works like an advanced optimizing compiler, removing unused classes, fields, methods, and attributes, shortening identifiers, merging classes, inlining methods, propagating constants, removing unused parameters, etc.

Features

  • The optimizations typically reduce the size of an application by anything between 20% and 90%
  • The optimizations may also improve the performance of the application, by up to 20%
  • ProGuard can also remove logging code, from applications and their libraries, without needing to change the source code
  • It detects and removes unused classes, fields, methods, and attributes
  • It optimizes bytecode and removes unused instructions
  • It renames the remaining classes, fields, and methods using short meaningless names

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

GNU General Public License version 3.0 (GPLv3)

Follow ProGuard

ProGuard Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ProGuard!

Additional Project Details

Programming Language

Java

Related Categories

Java Frameworks

Registered

2023-08-10