We are excited to announce the new ProGuard 7.3 is available. This release includes support for the most recent versions of Java and Kotlin.
To allow ProGuard to continue to optimize, obfuscate and shrink Java class files ProGuard now supports all Java versions including Java 19.
- Adding support for Java 19 (PGD-247)
ProGuard 7.3 deprecates the
-keepkotlinmetadata option. You can use
-keep class kotlin.Metadata instead which automatically enables processing of Kotlin metadata. Some consumer rules, from libraries such as
kotlin-reflect, already contain this rule which means that Kotlin metadata processing will be enabled automatically in those cases.
Adding support for Kotlin 1.7
Improving support for Kotlin library projects (
Automatically processing Kotlin Metadata when keeping the
Improving app startup times when using
Preventing merging classes with native methods that would result in
Fixing optimization of simple enums (optimization
Preventing potential build time
NullPointerExceptionwhen processing Kotlin interface methods.
Fixing ProGuard Gradle Plugin not working correctly on Windows. (