Skip to content

Commit

Permalink
builds with Scala 2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sciss committed Apr 18, 2014
1 parent c539bdf commit 4a57bd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ licenses := Seq("MIT License" -> url("http://www.opensource.org/licenses/mit-lic

description := """a command line options parsing library"""

scalaVersion := "2.11.0-RC4"
scalaVersion := "2.11.0"

crossScalaVersions := Seq("2.11.0-RC4", "2.11.0-RC1", "2.10.3", "2.9.1", "2.9.2", "2.9.3")
crossScalaVersions := Seq("2.11.0", "2.10.3", "2.9.1", "2.9.2", "2.9.3")

libraryDependencies <<= (scalaVersion, libraryDependencies) { (sv, deps) =>
val testVersion = sv match {
case "2.9.3" => "1.12.5-SNAPSHOT"
case "2.9.2" => "1.12.3"
case "2.9.1" => "1.12.4"
case "2.10.3" => "2.3.3"
case x if x startsWith "2.11" => "2.3.10"
case x if x startsWith "2.11" => "2.3.11"
case _ => error("Unsupported Scala version " + sv)
}
deps :+ ("org.specs2" %% "specs2" % testVersion % "test")
Expand Down

0 comments on commit 4a57bd8

Please sign in to comment.