-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
43 lines (31 loc) · 1.65 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
name := "Lift-MongoDb-Crudify"
organization := "mycompany"
version := "0.1-SNAPSHOT"
scalaVersion := "2.9.1"
resolvers ++= Seq(
"Liftmodules repo" at "https://repository-liftmodules.forge.cloudbees.com/release",
"Scala Tools Releases" at "http://scala-tools.org/repo-releases/",
"Java.net Maven2 Repository" at "http://download.java.net/maven/2/",
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)
{
val liftVersion = "2.4"
libraryDependencies ++= Seq(
"net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
"net.liftweb" %% "lift-mongodb-record" % liftVersion,
"ch.qos.logback" % "logback-classic" % "1.0.3",
"org.eclipse.jetty" % "jetty-webapp" % "7.1.0.RC1" % "container",
"com.foursquare" %% "rogue" % "1.1.6" % "compile->default" intransitive(),
"org.mortbay.jetty" % "jetty" % "6.1.22" % "test", // For Jetty 6, add scope test to make jetty avl. for tests
"junit" % "junit" % "4.8" % "test", // For JUnit 4 testing
"org.scalatest" %% "scalatest" % "1.6.1" % "test"
)
}
scalacOptions += "-deprecation"
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
// by default, it listens on port 8080; use the following to override
port in container.Configuration := 8081