-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
46 lines (36 loc) · 1.91 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name := "myrest"
version := "0.1"
scalaVersion := "2.9.1"
seq(webSettings: _*)
// If using JRebel with 0.1.0 of the sbt web plugin
//jettyScanDirs := Nil
// using 0.2.4+ of the sbt web plugin
scanDirectories in Compile := Nil
//resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
// you can also add multiple repositories at the same time
resolvers ++= Seq(
"Scala Tools Releases" at "http://scala-tools.org/repo-releases/",
"Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
)
// if you have issues pulling dependencies from the scala-tools repositories (checksums don't match), you can disable checksums
//checksums := Nil
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")
}
// when using the sbt web app plugin 0.2.4+, use "container" instead of "jetty" for the context
// Customize any further dependencies as desired
libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-webapp" % "8.0.4.v20111024" % "container", // For Jetty 8
//"org.eclipse.jetty" % "jetty-webapp" % "7.3.0.v20110203" % "container", // For Jetty 7
//"org.mortbay.jetty" % "jetty" % "6.1.22" % "jetty,test", // For Jetty 6, add scope test to make jetty avl. for tests
"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
)
libraryDependencies += "org.scalatest" %% "scalatest" % "1.7.2" % "test"