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
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
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