diff --git a/.scalafmt.conf b/.scalafmt.conf index 1b11bbb..88c98ad 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,2 +1,3 @@ -version=2.5.2 -maxColumn = 120 \ No newline at end of file +version="3.0.5" +maxColumn = 120 +runner.dialect = scala213source3 diff --git a/build.sbt b/build.sbt index 3d62d0f..350eaaa 100644 --- a/build.sbt +++ b/build.sbt @@ -19,7 +19,8 @@ Compile / unmanagedResourceDirectories += { baseDirectory.value / "lib" } scalacOptions ++= List( "-Yrangepos", "-Ywarn-unused", - "-deprecation" + "-deprecation", + "-Xsource:3" ) javacOptions += "-g:none" compileOrder := CompileOrder.JavaThenScala