Skip to content

Commit a4b5040

Browse files
authored
Merge pull request #2086 from pjfanning/patch-1
example has wrong scala version
2 parents 4458549 + 6522419 commit a4b5040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_overviews/scala3-migration/compatibility-classpath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ Or, in case `bar` is a published Scala 3 library:
113113
```scala
114114
lazy val foo = project.in.file("foo")
115115
.settings(
116-
scalaVersion := "3.0.0",
116+
scalaVersion := "2.13.6",
117117
scalacOptions += "-Ytasty-reader",
118118
libraryDependencies += ("org.bar" %% "bar" % "1.0.0").cross(CrossVersion.for2_13Use3)
119119
)
120120
```
121121

122-
Similarly to `CrossVersion.for2_13Use3`, we use `CrossVersion.for3Use2_13` in sbt to resolve `bar_2.13` instead of `bar_3`.
122+
Similarly to `CrossVersion.for2_13Use3`, we use `CrossVersion.for3Use2_13` in sbt to resolve `bar_3` instead of `bar_2.13`.
123123

124124
## Interoperability Overview
125125

0 commit comments

Comments
 (0)