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 735164b + 3b3396f commit ccea6c1Copy full SHA for ccea6c1
README.md
@@ -42,13 +42,14 @@ This module is published only for the Scala 2.13.x series, so in a
42
cross-built project, the dependency should take this form:
43
44
```scala
45
-libraryDependencies ++=
+libraryDependencies ++= {
46
CrossVersion.partialVersion(scalaVersion.value) match {
47
case Some((2, minor)) if minor >= 13 =>
48
Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "0.1.2")
49
case _ =>
50
Seq()
51
}
52
+}
53
```
54
55
This way of testing `scalaVersion` is robust across varying Scala
0 commit comments