-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
executable file
·35 lines (23 loc) · 999 Bytes
/
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
//import net.thunderklaus.GwtPlugin._
name := "Vaadin, Scala and Mongo"
scalaVersion := "2.9.2"
seq(webSettings: _*)
//seq(gwtSettings: _*)
//gwtVersion := "2.4.0"
resolvers ++= Seq("Vaadin add-ons repository" at "http://maven.vaadin.com/vaadin-addons")
// basic dependencies
libraryDependencies ++= Seq(
"com.vaadin" % "vaadin" % "6.8.2",
"org.eclipse.jetty" % "jetty-webapp" % "8.0.4.v20111024" % "container",
"org.vaadin.addons" % "scaladin" % "2.0.0"
)
libraryDependencies ++= Seq(
//Casbah and Salat
"org.mongodb" %% "casbah" % "2.4.1",
"com.novus" %% "salat" % "1.9.1"
)
// hack: sbt-gwt-plugin assumes that sources are in src/main/java
//javaSource in Compile <<= (scalaSource in Compile)
//gwtModules := List("vaadin.scala.example.mongo.MongoExampleWidgetset")
// more correct place would be to compile widgetset under the target dir and configure jetty to find it from there
//gwtTemporaryPath := file(".") / "src" / "main" / "webapp" / "VAADIN" / "widgetsets"