diff --git a/build.sbt b/build.sbt index 5309352..d2d5d5d 100644 --- a/build.sbt +++ b/build.sbt @@ -10,15 +10,24 @@ licenses := Seq("Apache License, Version 2.0" -> url("http://www.apache.org/lice scalaVersion := "2.9.2" -crossScalaVersions := Seq("2.9.1", "2.9.2", "2.10.0") +crossScalaVersions := Seq("2.9.1", "2.9.2", "2.10.4", "2.11.7") libraryDependencies ++= Seq( "org.slf4j" % "slf4j-api" % "1.7.2", "ch.qos.logback" % "logback-classic" % "1.0.0" % "test", - "junit" % "junit" % "4.11" % "test", - "org.specs2" %% "specs2" % "1.12.3" % "test" + "junit" % "junit" % "4.11" % "test" ) +libraryDependencies <++= scalaVersion { + case x if x.startsWith("2.9.") => Seq( + "org.specs2" %% "specs2" % "1.12.3" % "test" + ) + case _ => Seq( + "org.specs2" %% "specs2-core" % "3.6.3" % "test", + "org.specs2" %% "specs2-junit" % "3.6.3" % "test" + ) +} + scalacOptions ++= Seq("-optimize", "-unchecked", "-deprecation", "-Xcheckinit", "-encoding", "utf8") cancelable := true diff --git a/project/build.properties b/project/build.properties index 4474a03..748703f 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=0.12.1 +sbt.version=0.13.7 diff --git a/project/plugins.sbt b/project/plugins.sbt index e39f18c..1c0b940 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,2 +1,2 @@ -addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.2") +addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.3")