Created
February 1, 2012 09:00
-
-
Save sofoklis/1716041 to your computer and use it in GitHub Desktop.
build.sbt for lift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// need this if you want to browse code | |
EclipseKeys.withSource := true | |
version := "1.0" | |
scalaVersion := "2.9.1" | |
name := "Test sbt" | |
liftVersion := "2.4" | |
jettyVersion := "7.3.1.v20110307" | |
resolvers += "Maven Repo" at "http://repo1.maven.org/maven2" | |
resolvers += "repo2_maven_org" at "http://repo2.maven.org/maven2" | |
resolvers += "Scala-Tools Dependencies Repository for Releases" at "http://scala-tools.org/repo-releases" | |
// Using a singe key version for the dependency | |
libraryDependencies <+= jettyVersion("org.mortbay.jetty" % "jetty-maven-plugin" % _ ) | |
// This code fragment is realy nice if you want to use more than one of your keys to get your dependencies | |
libraryDependencies <++= (scalaVersion, liftVersion){ | |
case (sv, lv) => List("net.liftweb" % ("lift-webkit_" + sv) % lv, | |
"net.liftweb" % ("lift-wizard_" + sv) % lv) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment