-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update this for Java 19 #262
Comments
Hi. Here https://github.com/wvengen/proguard-maven-plugin/blob/master/pom.xml#L11 you can see the default Proguard version. See also https://wvengen.github.io/proguard-maven-plugin/ on how to use a different version than the default one. If you want to update the default version, you can modify https://github.com/wvengen/proguard-maven-plugin/blob/master/pom.xml#L11 and open a pull request. I am happy to merge such updates. |
Ok, I've see now how to use different proguard-base, down in that page. But using newest version it gives me an error: [proguard] Exception in thread "main" java.lang.NoSuchMethodError: 'void proguard.io.ClassReader.<init>(boolean, boolean, boolean, boolean, boolean, proguard.classfile.util.WarningPrinter, proguard.classfile.visitor.ClassVisitor)'
[proguard] at proguard.InputReader.execute(InputReader.java:93)
[proguard] at proguard.pass.PassRunner.run(PassRunner.java:24)
[proguard] at proguard.ProGuard.readInput(ProGuard.java:333)
[proguard] at proguard.ProGuard.execute(ProGuard.java:124)
[proguard] at proguard.ProGuard.main(ProGuard.java:651)
[proguard] ProGuard, version 7.3.2Reading input... |
... any idea? |
You probably also need to upgrade proguard-core (e.g. 9.0.8 for the 7.3.2 base version):
|
Please someone, could this be updated to Java 19?
I use Liberica 19.0.2.1 for my projects and seems this proguard is not compatible with the Java 19. (class version 63).
I get this error when I'm trying to package my project:
Unsupported version number [63.0] (maximum 62.65535, Java 18)
The plugin used in pom file:
Thanks
The text was updated successfully, but these errors were encountered: