From 738da29cd52c79c894aa0cfadf5d49d53926e9e3 Mon Sep 17 00:00:00 2001 From: Tim Nielens Date: Sat, 25 Nov 2023 23:06:54 +0100 Subject: [PATCH] add scalac -release 8 --- build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sbt b/build.sbt index 817e67661..e87611ad6 100644 --- a/build.sbt +++ b/build.sbt @@ -77,6 +77,7 @@ def stdSettings(prjName: String) = Seq( Compile / compile / scalacOptions ++= optionsOn("2.13")("-Wconf:cat=unused-nowarn:s").value, scalacOptions -= "-Xlint:infer-any", + scalacOptions ++= Seq("-release", "8"), // workaround for bad constant pool issue (Compile / doc) := Def.taskDyn { val default = (Compile / doc).taskValue