-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.sbt
63 lines (57 loc) · 2.43 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
import Common._
name := "event-sourced-dice-game"
version := "0.1"
// Using fork of reactive-rabbit until new version of original project is available.
// Uncomment original dependencies and remove this one once it's ready.
lazy val reactiveRabbitFork = RootProject(uri("git://github.com/LukasGasior1/reactive-rabbit.git"))
lazy val game = project.in(file("game"))
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence-experimental" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-experimental" % akkaStreamVersion,
// "io.scalac" %% "reactive-rabbit" % reactiveRabbitVersion,
"io.spray" %% "spray-routing" % sprayVersion,
"io.spray" %% "spray-can" % sprayVersion,
"org.json4s" %% "json4s-native" % json4sVersion,
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"ch.qos.logback" % "logback-classic" % logbackVersion
),
fork := true
)
.dependsOn(reactiveRabbitFork)
lazy val statistics = project.in(file("statistics"))
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence-experimental" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-experimental" % akkaStreamVersion,
"io.spray" %% "spray-routing" % sprayVersion,
"io.spray" %% "spray-can" % sprayVersion,
// "io.scalac" %% "reactive-rabbit" % reactiveRabbitVersion,
"org.json4s" %% "json4s-native" % json4sVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion
),
fork := true
)
.dependsOn(reactiveRabbitFork)
lazy val webapp = project.in(file("webapp"))
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-experimental" % akkaStreamVersion,
// "io.scalac" %% "reactive-rabbit" % reactiveRabbitVersion,
"com.typesafe.play" %% "play-ws" % "2.4.0-M2",
"org.webjars" %% "webjars-play" % "2.4.0-M2",
"org.webjars" % "jquery" % "2.1.3",
"org.webjars" % "angularjs" % "1.3.11",
"org.webjars" % "bootstrap" % "3.3.2"
)
)
.enablePlugins(PlayScala)
.dependsOn(reactiveRabbitFork)