Skip to content

Commit 7436222

Browse files
authored
Merge pull request #164 from raboof/patch-1
Add "in ThisBuild" to find scalafixDependencies
2 parents 013c7cd + e6188dc commit 7436222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The `Collection213Upgrade` rewrite upgrades to the 2.13 collections without the
5252

5353
```scala
5454
// build.sbt
55-
scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.1"
55+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.1"
5656
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
5757
```
5858

@@ -70,7 +70,7 @@ To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on th
7070

7171
```scala
7272
// build.sbt
73-
scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.1"
73+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.1"
7474
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.2.1"
7575
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
7676
```

0 commit comments

Comments
 (0)