From 71bf40b8ea88ad6c234c1c31fb4b75c4dd26fea2 Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Sat, 24 May 2014 16:11:29 +0200 Subject: [PATCH] Special handling for scala 2.9.1-1 There is no scalajpa build for 2.9.1-1 therefore use the 2.9.1 build --- build.sbt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index e795b43..28f8f82 100644 --- a/build.sbt +++ b/build.sbt @@ -32,7 +32,14 @@ libraryDependencies <++= scalaVersion { sv => "javax.persistence" % "persistence-api" % "1.0" % "provided" :: "javax.transaction" % "transaction-api" % "1.1" % "provided" :: "org.hibernate" % "hibernate-entitymanager" % "3.4.0.GA" :: - "org.scala-libs" %% "scalajpa" % "1.5" :: + Nil +} + +libraryDependencies <++= scalaVersion { sv => + (sv match { + case "2.9.1-1" => "org.scala-libs" % "scalajpa_2.9.1" % "1.5" + case _ => "org.scala-libs" %% "scalajpa" % "1.5" + }) :: Nil }