From 66828b9f51ffe81dd16a87582bcb1f9d6dbaa502 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Mon, 12 Jun 2023 13:42:42 +0200 Subject: [PATCH] Move to safer compatibility flag for javac --- project/ScalafixBuild.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/ScalafixBuild.scala b/project/ScalafixBuild.scala index 77e8788d8..4d4c9829a 100644 --- a/project/ScalafixBuild.scala +++ b/project/ScalafixBuild.scala @@ -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") }