Skip to content

Instantly share code, notes, and snippets.

@cyberoctopi
Created March 30, 2012 18:28
Show Gist options
  • Select an option

  • Save cyberoctopi/2253748 to your computer and use it in GitHub Desktop.

Select an option

Save cyberoctopi/2253748 to your computer and use it in GitHub Desktop.
Lift sbt build file
name := "project"
version := "1.0"
scalaVersion := "2.9.1"
seq(webSettings: _*)
// If using JRebel
scanDirectories := Nil
resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
libraryDependencies ++= {
val liftVersion = "2.4" // Put the current/latest lift version here
Seq(
"net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
"net.liftweb" %% "lift-mapper" % liftVersion % "compile->default",
"net.liftweb" %% "lift-wizard" % liftVersion % "compile->default",
"net.liftweb" %% "lift-widgets" % liftVersion % "compile->default")
}
libraryDependencies ++= Seq (
"org.mortbay.jetty" % "jetty" % "6.1.22" % "container",
//"org.eclipse.jetty" % "jetty-webapp" % "7.3.0.v20110203" % "jetty", // For Jetty 7
"org.scala-tools.testing" % "specs_2.9.0" % "1.6.8" % "test", // For specs.org tests
"junit" % "junit" % "4.8" % "test->default", // For JUnit 4 testing
"javax.servlet" % "servlet-api" % "2.5" % "provided->default",
"com.h2database" % "h2" % "1.2.138", // In-process database, useful for development systems
"ch.qos.logback" % "logback-classic" % "0.9.26" % "compile->default", // Logging
"org.jdom" % "jdom" % "1.1"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment