Skip to content

Commit 86b0cc7

Browse files
committed
scalafmt: upgrade to v3.11.1
This version also includes scala3-built packages, so no need anymore for `For3Use2_13` dependencies.
1 parent 6ab70ec commit 86b0cc7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

build.sbt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import scala.util.Properties.isJavaAtLeast
22

3-
val scalafmtVersion = "3.11.0"
3+
val scalafmtVersion = "3.11.1"
44
val scala2 = "2.12.21"
55
val scala3 = "3.8.3"
66

@@ -61,10 +61,8 @@ lazy val plugin = project.enablePlugins(SbtPlugin, ScriptedPlugin).settings(
6161
moduleName := "sbt-scalafmt",
6262
libraryDependencies ++= List(
6363
"com.googlecode.java-diff-utils" % "diffutils" % "1.3.0",
64-
"org.scalameta" %% "scalafmt-sysops" % scalafmtVersion cross
65-
CrossVersion.for3Use2_13,
66-
"org.scalameta" %% "scalafmt-dynamic-core" % scalafmtVersion cross
67-
CrossVersion.for3Use2_13,
64+
"org.scalameta" %% "scalafmt-sysops" % scalafmtVersion,
65+
"org.scalameta" %% "scalafmt-dynamic-core" % scalafmtVersion,
6866
),
6967
scriptedBufferLog := false,
7068
scriptedLaunchOpts += s"-Dplugin.version=${version.value}",

0 commit comments

Comments
 (0)