Skip to content
This repository has been archived by the owner on Jul 22, 2018. It is now read-only.

Commit

Permalink
Aligned with Lift 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
d6y committed Sep 9, 2012
1 parent f6b3660 commit 9f612d4
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions build.sbt
Original file line number Original file line Diff line number Diff line change
@@ -1,14 +1,16 @@
name := "xmpp" name := "xmpp"


liftVersion <<= liftVersion ?? "2.4" liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"


version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" } version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" }

organization := "net.liftmodules"


scalaVersion := "2.9.1" scalaVersion := "2.9.2"

scalacOptions ++= Seq("-unchecked", "-deprecation")


crossScalaVersions := Seq("2.8.1", "2.9.0-1", "2.9.1") crossScalaVersions := Seq("2.9.2", "2.9.1-1", "2.9.1", "2.9.0-1", "2.9.0")

resolvers += "CB Central Mirror" at "http://repo.cloudbees.com/content/groups/public"


resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/" resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"


Expand All @@ -20,20 +22,17 @@ libraryDependencies <++= liftVersion { v =>
libraryDependencies <++= scalaVersion { sv => libraryDependencies <++= scalaVersion { sv =>
"jivesoftware" % "smack" % "3.1.0" :: "jivesoftware" % "smack" % "3.1.0" ::
(sv match { (sv match {
case "2.8.0" => "org.scala-tools.testing" %% "specs" % "1.6.5" % "test" case "2.9.2" | "2.9.1" | "2.9.1-1" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test"
case "2.9.1" => "org.scala-tools.testing" %% "specs" % "1.6.9" % "test"
case "2.9.2" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test"
case _ => "org.scala-tools.testing" %% "specs" % "1.6.8" % "test" case _ => "org.scala-tools.testing" %% "specs" % "1.6.8" % "test"
}) :: }) ::
(sv match { (sv match {
case "2.8.0" => "org.scalacheck" %% "scalacheck" % "1.7" % "test"
case "2.8.1" | "2.8.2" => "org.scalacheck" %% "scalacheck" % "1.8" % "test"
case "2.9.2" => "org.scalacheck" % "scalacheck_2.9.1" % "1.9" % "test" case "2.9.2" => "org.scalacheck" % "scalacheck_2.9.1" % "1.9" % "test"
case _ => "org.scalacheck" %% "scalacheck" % "1.9" % "test" case _ => "org.scalacheck" %% "scalacheck" % "1.9" % "test"
}) :: }) ::
Nil Nil
} }



publishTo <<= version { _.endsWith("SNAPSHOT") match { publishTo <<= version { _.endsWith("SNAPSHOT") match {
case true => Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots") case true => Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
case false => Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2") case false => Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
Expand Down

0 comments on commit 9f612d4

Please sign in to comment.