Skip to content
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

Revert "java target should only be driven by scalacOptions" #1862

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Sep 7, 2023

Reverts #1781 as there is no way to force a class file version with scala 2.12 (we can only use the target hint). JDK11 being the default JVM of the coursier version brought by coursier/setup-action@v1, 2.12 artifacts are no longer compatible with JDK8 🎱

Identified through sbt-scalafix JDK8 CI when bringing-in the latest scalafix-interfaces: https://github.com/scalacenter/sbt-scalafix/actions/runs/6114939069/job/16597532534?pr=368. It would obviously be better to have a check in the CI here, but I am not sure it's really worth it as we have that safety net anyway.

@bjaglin bjaglin marked this pull request as ready for review September 7, 2023 22:43
@bjaglin bjaglin merged commit 1b88e1f into main Sep 7, 2023
@bjaglin bjaglin deleted the revert-1781-target branch February 26, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant