-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
50 lines (35 loc) · 1.28 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
// For project structure see https://github.com/pbassiner/sbt-multi-project-example
name := "simple-bank-system"
organization in ThisBuild:= "gr.fpas"
scalaVersion in ThisBuild := "2.13.1"
version := "0.1"
lazy val root = project.in(file("."))
.aggregate(
backend,
`transactions-client`,
`scala-intro`
)
lazy val backend = project
.settings(commonSettings)
lazy val `transactions-client` = project
.settings(commonSettings)
lazy val `scala-intro` = project
.settings(commonSettings)
lazy val commonSettings = Seq(
libraryDependencies := dependencies
)
lazy val akkaVersion = "2.6.1"
lazy val dependencies = Seq(
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % "10.1.11",
"com.typesafe.akka" %% "akka-http-spray-json" % "10.1.11",
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-serialization-jackson" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"ch.qos.logback" % "logback-classic" % "1.2.3",
// Testing
"com.typesafe.akka" %% "akka-actor-testkit-typed" % akkaVersion% Test,
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
)