Created
May 17, 2011 13:41
-
-
Save bmc/976482 to your computer and use it in GitHub Desktop.
Supporting ScalaTest with Scala 2.8 and 2.9 in SBT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val (scalatestArtifact, scalatestVersion) = buildScalaVersion match | |
{ | |
case "2.7.7" => ("scalatest", "1.2") | |
case "2.8.0" => ("scalatest", "1.3") | |
case "2.8.1" => ("scalatest", "1.3") | |
case "2.9.0" => ("scalatest_2.9.0", "1.4.1") | |
case n => error("Unsupported Scala version " + n) | |
} | |
val scalatest = "org.scalatest" % scalatestArtifact % scalatestVersion % "test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment