We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28c5189 + 6a6d5c9 commit 4158f85Copy full SHA for 4158f85
README.md
@@ -82,6 +82,12 @@ by:
82
libraryDependencies += ("a" %% "b" % "c").withDottyCompat(scalaVersion.value)
83
```
84
85
+Or you can alternatively use:
86
+
87
+```scala
88
+ libraryDependencies := libraryDependencies.value.map(_.withDottyCompat(scalaVersion.value))
89
+```
90
91
This will have no effect when compiling with Scala 2.x, but when compiling
92
with Dotty this will change the cross-version to a Scala 2.x one. This
93
works because Dotty is currently retro-compatible with Scala 2.x.
0 commit comments