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
Protection
10 min read
| August 19, 2025
Securing Digital Identity: A Guide for Mobile App Developers
Read More
Protection
17 min read
| August 12, 2025
Protect and Safeguard API Keys from Leakage and Misuse
Read More
Android
5 min read
| August 5, 2025
When it Comes to Mobile App Security, “Good Enough” Is Not Sufficient
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.