Skip to content

Commit

Permalink
fix scala3 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
User authored and User committed Aug 22, 2024
1 parent e5da595 commit 8c235de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 8c235de

Please sign in to comment.