-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
53 lines (48 loc) · 2.1 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
name := "akka-apps"
version := "0.1"
scalaVersion := "2.13.8"
lazy val akkaVersion = "2.6.19"
lazy val akkaHttpVersion = "10.2.9"
lazy val akkaManagementVersion = "1.1.3"
lazy val jacksonVersion = "3.6.6"
libraryDependencies ++= Seq(
// logging
"ch.qos.logback" % "logback-classic" % "1.2.11",
//shapeless
"com.chuusai" %% "shapeless" % "2.3.9",
// akka
"com.typesafe.akka" %% "akka-stream-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-discovery" % akkaVersion,
"com.typesafe.akka" %% "akka-serialization-jackson" % akkaVersion,
// akka test kit
"com.typesafe.akka" %% "akka-remote" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-multi-node-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-actor-testkit-typed" % akkaVersion % Test,
// akka http server
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
// akka http test kit
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion % Test,
// cluster bootstrap
"com.lightbend.akka.management" %% "akka-management-cluster-http" % akkaManagementVersion,
"com.lightbend.akka.management" %% "akka-management-cluster-bootstrap" % akkaManagementVersion,
"com.lightbend.akka.discovery" %% "akka-discovery-kubernetes-api" % akkaManagementVersion,
// local levelDB stores
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8",
// test
"org.scalatest" %% "scalatest" % "3.2.12" % Test,
"org.scalamock" %% "scalamock" % "5.2.0" % Test
)
lazy val root = (project in file("."))
.settings(
dockerExposedPorts ++= Seq(2552, 8558, 8080),
dockerExposedVolumes := Seq("/opt/docker/data")
)
.enablePlugins(MultiJvmPlugin, JavaServerAppPackaging)
.configs(MultiJvm)