-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
58 lines (54 loc) · 2.46 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
lazy val commonSettings = Seq(
organization := "de.htwg.sa",
version := "1.0.0",
scalaVersion := "2.12.7"
)
lazy val root = (project in file("."))
.settings(
name := "minesweeper"
)
.aggregate(
game,
database,
database2
)
lazy val game = project
.settings(
commonSettings,
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % "test",
libraryDependencies += "junit" % "junit" % "4.8" % "test",
libraryDependencies += "org.scala-lang.modules" % "scala-swing_2.12" % "2.0.3",
libraryDependencies += "com.google.inject" % "guice" % "4.1.0",
libraryDependencies += "net.codingwell" %% "scala-guice" % "4.1.0",
libraryDependencies += "org.scala-lang.modules" % "scala-xml_2.12" % "1.0.6",
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.6.6",
libraryDependencies += "com.google.inject.extensions" % "guice-assistedinject" % "4.1.0",
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.1.8",
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.8",
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.22",
coverageExcludedPackages := "de.htwg.sa.minesweeper.view.Gui;de.htwg.sa.minesweeper.view.RestApi;de.htwg.sa.minesweeper.model.saveandloadcomponent;de.htwg.sa.minesweeper.MineSweeper"
)
lazy val database = project
.settings(
commonSettings,
libraryDependencies ++= List(
"com.typesafe.slick" %% "slick" % "3.2.0",
"org.slf4j" % "slf4j-nop" % "1.7.10",
"com.h2database" % "h2" % "1.4.187"
),
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.6.6",
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.1.8",
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.8",
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.22",
libraryDependencies += "com.typesafe.play" %% "play-slick" % "4.0.0",
libraryDependencies += "com.typesafe.play" %% "play-slick-evolutions" % "4.0.0"
)
lazy val database2 = project
.settings(
commonSettings,
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.6.6",
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.1.8",
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.8",
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.22",
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "2.6.0"
)