Skip to content

Instantly share code, notes, and snippets.

@mateusfreira
Created March 5, 2012 18:21
Show Gist options
  • Save mateusfreira/1980120 to your computer and use it in GitHub Desktop.
Save mateusfreira/1980120 to your computer and use it in GitHub Desktop.
SbtBuild
import sbt._
class LiftProject(info: ProjectInfo) extends DefaultWebProject(info) {
val liftVersion = property[Version]
// uncomment the following if you want to use the snapshot repo
// val scalatoolsSnapshot = ScalaToolsSnapshots
// If you're using JRebel for Lift development, uncomment
// this line
// override def scanDirectories = Nil
lazy val JavaNet = "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
override def libraryDependencies = Set(
"net.liftweb" %% "lift-webkit" % liftVersion.value.toString % "compile",
"net.liftweb" %% "lift-mapper" % liftVersion.value.toString % "compile",
"org.mortbay.jetty" % "jetty" % "6.1.26" % "test",
"junit" % "junit" % "4.7" % "test",
"ch.qos.logback" % "logback-classic" % "0.9.26",
"org.scala-tools.testing" %% "specs" % "1.6.8" % "test",
"com.h2database" % "h2" % "1.2.147",
"postgresql" % "postgresql" % "8.4-701.jdbc4" % "runtime" ,
"net.liftweb" %% "lift-widgets" % liftVersion.value.toString % "compile"
) ++ super.libraryDependencies
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment