Skip to content

Commit 243e998

Browse files
committed
Fix migration tool installation instructions
1 parent ec2702a commit 243e998

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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-
4746
addSbtPlugin("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
5655
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.1.1"
56+
addCompilerPlugin(scalafixSemanticdb)
5757
scalacOptions ++= 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"
7575
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.1.2"
76+
addCompilerPlugin(scalafixSemanticdb)
7677
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
7778
```
7879

0 commit comments

Comments
 (0)