We are pleased to announce the official release of ProGuard 6.0. It is a major new release that focuses on facilitating the configuration of ProGuard.
These are the main new features:
- A new option -addconfigurationdebugging. It instruments the application code to provide feedback about missing configuration at runtime. It is of great help to quickly get to a working ProGuard configuration for complex projects. Just look at the runtime logs and copy/paste any suggested missing settings.
- A new option -if, to specify conditions for -keep options. The option is notably useful for configuring applications that use Dagger 1 or Butterknife. The documentation and the Android sample project provide settings that you can use right away.
- A new option -android, to tune the optimizations for Android.
- New options -assume..., to express fine-grained assumptions for better code optimization.
- Backporting of Java 8 code to earlier versions of Java, notably lambda expressions.
- Backporting of Java 9 code to earlier versions of Java, notably string concatenation.
- Improved class merging, for example to clean up after the AutoValue framework.
As always, ProGuard 6.0 is backward compatible with earlier versions. Just update the version and you're good to go. You can find ProGuard on Sourceforge, Maven Central, and JCenter. You can find the updated documentation here.
Guardsquare
Connect with the author
Other posts you might be interested in
Android
9 min read
| October 14, 2025
Simple and Stronger Mobile App Security with Automatic RASP Injection
Read More
7 min read
| October 7, 2025
Mobile Healthcare App Security for Development Teams
Read More
Protection
16 min read
| September 30, 2025
How Server-Side App Attestation Protects APIs From Bot Attacks
Read More
General Terms | Privacy Policy | Cookie Policy | Security
Tervuursevest 362 bus 1, 3000 Leuven, Belgium |
VAT: BE0550675829 |
© 2016-2025 Guardsquare nv. All rights reserved.