Skip to content

Commit

Permalink
Dependency: update scalafmt-dynamic to 3.1.0
Browse files Browse the repository at this point in the history
This new version requires an explicit version and fails on usage of
`.withRespectVersion(false)`.
  • Loading branch information
Albert Meltzer committed Nov 10, 2021
1 parent dd71a77 commit a389c2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ lazy val plugin = project
.settings(
moduleName := "sbt-scalafmt",
libraryDependencies ++= List(
"org.scalameta" %% "scalafmt-dynamic" % "3.0.8"
"org.scalameta" %% "scalafmt-dynamic" % "3.1.0"
),
scriptedBufferLog := false,
scriptedLaunchOpts += s"-Dplugin.version=${version.value}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ object ScalafmtPlugin extends AutoPlugin {
globalInstance
.withReporter(reporter)
.withMavenRepositories(repositories: _*)
.withRespectVersion(false)
.withRespectProjectFilters(true) match {
case t: ScalafmtSessionFactory =>
val session = t.createSession(config.toAbsolutePath)
Expand Down

0 comments on commit a389c2a

Please sign in to comment.