Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Aligned with Lift 2.5

  • Loading branch information...
commit 9f5782ca6408b8d020676d7e9740d5b0ff8fbd7b 1 parent 08cfcda
@d6y d6y authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 build.sbt
View
17 build.sbt
@@ -1,38 +1,37 @@
name := "facebook"
-liftVersion <<= liftVersion ?? "2.4"
+liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"
version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" }
organization := "net.liftmodules"
-scalaVersion := "2.9.1"
+scalaVersion := "2.9.2"
-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/"
libraryDependencies <++= liftVersion { v =>
"net.liftweb" %% "lift-webkit" % v % "compile->default" ::
Nil
-}
+}
libraryDependencies <++= scalaVersion { sv =>
(sv match {
- case "2.8.0" => "org.scala-tools.testing" %% "specs" % "1.6.5" % "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 "2.9.2" | "2.9.1" | "2.9.1-1" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test"
case _ => "org.scala-tools.testing" %% "specs" % "1.6.8" % "test"
}) ::
(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 _ => "org.scalacheck" %% "scalacheck" % "1.9" % "test"
}) ::
Nil
}
+
publishTo <<= version { _.endsWith("SNAPSHOT") match {
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")
Please sign in to comment.
Something went wrong with that request. Please try again.