proguard
proguard copied to clipboard
Java 14 support
When I try obfuscating with Java 14 get the following:
Unsupported version number [58.0] (maximum 57.0, Java 13)
I'm guessing proguard doesn't yet support Java 14
I experience the same trouble.
I made a PR #34, albeit untested except to see my build turn green and stop throwing that error
At least for now, I've decided to stay on Java 11 (LTS); I worry this might be a problem every time there is a new Java release, and don't want to always be held up by this every time.
Hey there, since JDK 14 was released 2 months ago and 15 will be released in 4 months, could we please prioritize this ticket, it's blocking us from upgrading.
ProGuard 7.0.0 is officially available now. It supports Java 14 class files, including record types. I'll push a branch with support for the optional Record attribute (when compiling code with -preview
) soon.
How to use Proguard with -preview? I am using java 14 with Preview features.
I think we can close this now, but JDK 15 is still unsupported - see https://github.com/Guardsquare/proguard/issues/64#issuecomment-755295941