File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ The migration rules use scalafix. Please see the [official installation instruct
4343
4444``` scala
4545// project/plugins.sbt
46-
4746addSbtPlugin(" ch.epfl.scala" % " sbt-scalafix" % " 0.9.8" )
4847```
4948
@@ -54,6 +53,7 @@ The `Collection213Upgrade` rewrite upgrades to the 2.13 collections without the
5453``` scala
5554// build.sbt
5655scalafixDependencies in ThisBuild += " org.scala-lang.modules" %% " scala-collection-migrations" % " 2.1.1"
56+ addCompilerPlugin(scalafixSemanticdb)
5757scalacOptions ++= List (" -Yrangepos" , " -P:semanticdb:synthetics:on" )
5858```
5959
@@ -71,8 +71,9 @@ To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on th
7171
7272``` scala
7373// build.sbt
74- scalafixDependencies in ThisBuild += " org.scala-lang.modules" %% " scala-collection-migrations" % " 2.1.2 "
74+ scalafixDependencies in ThisBuild += " org.scala-lang.modules" %% " scala-collection-migrations" % " 2.1.1 "
7575libraryDependencies += " org.scala-lang.modules" %% " scala-collection-compat" % " 2.1.2"
76+ addCompilerPlugin(scalafixSemanticdb)
7677scalacOptions ++= List (" -Yrangepos" , " -P:semanticdb:synthetics:on" )
7778```
7879
You can’t perform that action at this time.
0 commit comments