From 5fbd6e816b294b66f00dac07eff33684f62c97ed Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Fri, 20 Dec 2024 16:22:43 +0100 Subject: [PATCH] improvement: Allow sbt BSP to run on earlier JDK --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 61237dd7461..81aca0ddf58 100644 --- a/build.sbt +++ b/build.sbt @@ -528,6 +528,7 @@ lazy val `sbt-metals` = project ), scalaVersion := V.scala212, crossScalaVersions := Seq(V.scala212, V.scala3ForSBT2), + scalacOptions := Seq("-release", "8"), scriptedLaunchOpts ++= Seq(s"-Dplugin.version=${version.value}"), (pluginCrossBuild / sbtVersion) := { scalaBinaryVersion.value match {