From 8afea2c48b6dc0dd3640fab7cb8b18cf256fab0a Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Tue, 16 Jun 2026 09:40:20 +0900 Subject: [PATCH] -Yfuture-lazy-vals --- build.sbt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build.sbt b/build.sbt index 1973946..ec67f25 100644 --- a/build.sbt +++ b/build.sbt @@ -25,6 +25,20 @@ publishTo := { scalacOptions := Seq("-deprecation", "-feature") +scalacOptions ++= { + scalaBinaryVersion.value match { + case "2.12" | "2.13" => + Seq("-release:8") + case _ if scalaVersion.value.startsWith("3.3.") => + Seq( + "-release:11", + "-Yfuture-lazy-vals", + ) + case _ => + Nil + } +} + scalacOptions ++= { scalaBinaryVersion.value match { case "2.12" =>