-
Notifications
You must be signed in to change notification settings - Fork 44
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
UnsupportedClassVersionError since sbt-scalafmt 2.5.3 #344
Comments
ok, chatgpt says 52.0 is for java 8, and 55.0 for java 11; it is true we no longer release for java 8. i thought java 8 was deprecated a while ago. also, one of the contributors added a section mentioning that java 8 support was dropped in 2.5.1. but in mima it used 2.5.2 successfully... |
Facing the same error in cucumber/cucumber-jvm-scala#384, Java 8 support got dropped in 2.5.3 (was working in 2.5.2). IMHO it should have been done in a minor version, not a bugfix one, with an explicit mention in the release notes even though we all agree that JDK8 should go away :) |
We can separate release into website and normal release, which we can run on JDK 8 or just add We can drop the version explicitly later on. |
|
Ach, yes, sorry. We should most likely add both just in case |
I tried adding Whatever I did, I could't get java files to become 52. Since I don't know much about this, I used chatgpt and gemini to guide me, and they hallucinated a little bit but perhaps too much. anyway, @tgodzik, if you understand how to do this, could you please help? |
thanks! |
Configuration (required)
use JDK 8
.scalafmt.conf
project/build.properties
sbt.version=1.10.7
project/plugins.sbt
Command-line parameters (required)
sbt scalafmt
Problem (required)
Expectation
Workaround
Notes
The text was updated successfully, but these errors were encountered: