aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2014-07-08 15:57:27 +0200
committerJohannes Rudolph <johannes.rudolph@gmail.com>2014-07-08 15:57:27 +0200
commit3416a1479075cee8c1ec14ba2803458a674e3311 (patch)
treeb866507114fea12fe5c7299e9894f63907390f52
parentaed51e8962105a4163e38b2b2ba5651e57c468cb (diff)
downloadsbt-boilerplate-3416a1479075cee8c1ec14ba2803458a674e3311.tar.gz
sbt-boilerplate-3416a1479075cee8c1ec14ba2803458a674e3311.tar.bz2
sbt-boilerplate-3416a1479075cee8c1ec14ba2803458a674e3311.zip
allow testing for older sbt/scala versions
-rw-r--r--build.sbt5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index 82d6c89..4d6cc26 100644
--- a/build.sbt
+++ b/build.sbt
@@ -40,6 +40,9 @@ seq(lsSettings :_*)
crossBuildingSettings
-libraryDependencies += "org.specs2" %% "specs2" % "2.3.13" % "test"
+libraryDependencies <+= scalaVersion {
+ case v if v startsWith "2.9." => "org.specs2" % "specs2_2.9.3" % "1.12.4.1" % "test"
+ case "2.10.2" => "org.specs2" %% "specs2" % "2.3.13" % "test"
+}
ScalariformSupport.formatSettings \ No newline at end of file