Skip to content

Commit

Permalink
Merge pull request #1786 from scalacenter/javac-release
Browse files Browse the repository at this point in the history
Move to safer compatibility flag for javac
  • Loading branch information
bjaglin authored Jun 12, 2023
2 parents f9df65f + 66828b9 commit b5dc002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/ScalafixBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
else Nil
}
lazy val targetJvm = Def.setting {
if (isScala3.value) Seq("-Xtarget:8")
if (isScala3.value) Seq("-release:8")
else if (isScala213.value) Seq("-release", "8")
else Seq("-target:jvm-1.8")
}
Expand Down

0 comments on commit b5dc002

Please sign in to comment.