Skip to content

Commit

Permalink
Merge pull request #204 from szeiger/wip/rc2-update
Browse files Browse the repository at this point in the history
Update for Scala 2.13.0-RC2
  • Loading branch information
szeiger authored May 17, 2019
2 parents 2f821c3 + b09529a commit 36b36a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ This library provides some of the new APIs from Scala 2.13 to Scala 2.11 and 2.1
To use this library, add the following to your build.sbt:

```
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.3.0"
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.0.0"
```

Version 0.3.0 is compatible with Scala 2.13.0-M5, 2.12 and 2.11.
Version 2.0.0 is compatible with Scala 2.13.0-RC2, 2.12 and 2.11.

Note that there are multiple ways to cross-build projects, see https://github.com/scala/collection-strawman/wiki/FAQ#how-do-i-cross-build-my-project-against-scala-212-and-scala-213.

Expand Down Expand Up @@ -53,7 +53,7 @@ The `Collection213Upgrade` rewrite upgrades to the 2.13 collections without the

```scala
// build.sbt
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.3.0"
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.0.0"
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
```

Expand All @@ -71,8 +71,8 @@ To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on th

```scala
// build.sbt
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.3.0"
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.3.0"
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.0.0"
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.0.0"
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
```

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lazy val junit = libraryDependencies += "com.novocode" % "junit-interface" % "0.

lazy val scala211 = "2.11.12"
lazy val scala212 = "2.12.8"
lazy val scala213 = "2.13.0-RC1"
lazy val scala213 = "2.13.0-RC2"

scalaVersionsByJvm in ThisBuild := {
val all = List(scala211, scala212, scala213)
Expand Down

0 comments on commit 36b36a3

Please sign in to comment.