-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
73 lines (55 loc) · 2.31 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name := "bootstrap"
organization := "ag.bett.lift"
version := "0.1"
scalaVersion := "2.9.1"
seq(webSettings: _*)
port in container.Configuration := 8081
scalacOptions ++= Seq("-deprecation")
//scalacOptions ++= Seq("-unchecked", "-deprecation")
seq(site.settings:_*)
seq(ghpages.settings:_*)
git.remoteRepo := "[email protected]:fbettag/lift-bootstrap.git"
// 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 ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/snapshots/",
"Repo Maven" at "http://repo1.maven.org/maven2/",
"Scala Tools Releases" at "http://scala-tools.org/repo-releases/",
"Scala Tools Snapshot" at "http://scala-tools.org/repo-snapshots/",
"Nexus Releases" at "http://nexus.scala-tools.org/content/repositories/releases",
"Nexus Snapshots" at "http://nexus.scala-tools.org/content/repositories/snapshots",
"Java.net Maven2 Repository" at "http://download.java.net/maven/2/",
"Bryan J Swift Repository" at "http://repos.bryanjswift.com/maven2/"
)
// 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"
Seq(
"net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
"net.liftweb" %% "lift-mapper" % liftVersion % "compile->default",
"net.liftweb" %% "lift-json" % liftVersion % "compile->default")
}
// Akka
//libraryDependencies ++= {
// val akkaVersion = "2.0-M2"
// Seq(
// "com.typesafe.akka" % "akka-actor" % akkaVersion,
// "com.typesafe.akka" % "akka-remote" % akkaVersion
// )
//}
libraryDependencies ++= Seq(
"ag.bett.lift" %% "bhtml" % "0.1",
"postgresql" % "postgresql" % "9.1-901.jdbc4",
"net.databinder" %% "dispatch-http" % "0.8.6"
)
libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-webapp" % "7.1.0.RC1" % "container",
"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",
"ch.qos.logback" % "logback-classic" % "0.9.26" % "compile->default"
)