You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest sbt-scalafmt release (2.3.3) doesn't work with sbt 1.2.8 and earlier anymore, because of sbt/sbt#5049:
sbt:scalafmt-test> scalafmtAll
[error] java.lang.NoSuchMethodError: sbt.package$.singleFileJsonFormatter()Lsjsonnew/JsonFormat;
[error] at org.scalafmt.sbt.ScalafmtPlugin$ScalafmtAnalysis$.<init>(ScalafmtPlugin.scala:68)
[error] at org.scalafmt.sbt.ScalafmtPlugin$ScalafmtAnalysis$.<clinit>(ScalafmtPlugin.scala)
[error] at org.scalafmt.sbt.ScalafmtPlugin$.trackSourcesAndConfig(ScalafmtPlugin.scala:259)
...
Hi,
The latest sbt-scalafmt release (2.3.3) doesn't work with sbt 1.2.8 and earlier anymore, because of sbt/sbt#5049:
The simplest fix would be to revert #89.
The text was updated successfully, but these errors were encountered: