-
Notifications
You must be signed in to change notification settings - Fork 35
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
Java Bytecode version error with JDK 8 #58
Comments
The later versions don't support Java 8, which is a problem because the Java 8 version isn't compatible with Gradle 7: #59 |
There is nothing I can do about this, the class in question is compiled by the https://github.com/google/google-java-format/ project. |
But you could try to downgrade to an older version of google-java-format (by setting the |
Um, no, can't. Because the older version uses a feature that's deprecated in Gradle 7.x. It appears we are at an impasse. The team that writes Google Java Format saw fit to upgrade it to Java 11 before getting rid of the Gradle deprecations, which forces all of us on Java 8 to either never upgrade Gradle, or stop using GJF. |
@jimshowalter It seems you have yet to understand what this gradle plugin does and how it relates to google-java-format. Please carefully read my comments and the documentation again (or rather first). google-java-format doesn't use Gradle at all. |
If you follow the instructions in the readme in https://github.com/jimshowalter/gjf-problem, you'll reproduce the problem we're seeing. If you can figure out what combination of configuration will make Java 8 work with the formatter and with Gradle 7.x, that would be great! |
Hello, thank you to maintain this plugin.
I see an error with JDK 8, and I will report it below
With JDK 14 works well.
The text was updated successfully, but these errors were encountered: