From 8c235de014e06ea90885ee33013e3fce12f614b0 Mon Sep 17 00:00:00 2001 From: User Date: Thu, 22 Aug 2024 21:35:52 +0200 Subject: [PATCH] fix scala3 syntax --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 3b954cd..3acffb6 100644 --- a/build.sbt +++ b/build.sbt @@ -17,7 +17,7 @@ lazy val chapter01 = (project in file("chapter01")) unmanagedSources / excludeFilter ~= { _ || new FileFilter { def accept(f: File) = ".*/worksheets/.*".r.pattern.matcher(f.getAbsolutePath).matches } }, - scalacOptions ++= Seq("-Xsource", "3.3.3"), + scalacOptions ++= Seq("-Xsource:3.3.3"), scalaVersion := scalaV, crossScalaVersions := Seq(scala2V, scala3V), Test / parallelExecution := true, @@ -35,7 +35,7 @@ lazy val chapter02 = (project in file("chapter02")) def accept(f: File) = ".*/worksheets/.*".r.pattern.matcher(f.getAbsolutePath).matches } }, - scalacOptions ++= Seq("-Xsource", "3.3.3"), + scalacOptions ++= Seq("-Xsource:3.3.3"), scalaVersion := scalaV, crossScalaVersions := Seq(scala2V, scala3V), Test / parallelExecution := true,