-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (40 loc) · 1.9 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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.8"
val AkkaVersion = "2.7.0"
val AkkaHttpVersion = "10.4.0"
val LogbackVersion = "1.2.9"
val SlickVersion = "3.3.3"
val MysqlDriverVersion = "8.0.13"
val PersistenceJdbcVersion = "5.0.4"
val AkkaManagementVersion = "1.2.0"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor-typed" % AkkaVersion,
"com.typesafe.akka" %% "akka-stream" % AkkaVersion,
"com.typesafe.akka" %% "akka-http" % AkkaHttpVersion,
"com.typesafe.akka" %% "akka-http2-support" % AkkaHttpVersion,
"com.typesafe.akka" %% "akka-discovery" % AkkaVersion,
"com.typesafe.akka" %% "akka-cluster-typed" % AkkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding-typed" % AkkaVersion,
"ch.qos.logback" % "logback-classic" % "1.2.9",
"org.scalatest" %% "scalatest" % "3.1.4" % Test,
"com.typesafe.akka" %% "akka-actor-testkit-typed" % AkkaVersion % Test,
"com.typesafe.akka" %% "akka-serialization-jackson" % AkkaVersion,
"com.typesafe.akka" %% "akka-persistence-typed" % AkkaVersion,
"com.typesafe.akka" %% "akka-persistence-testkit" % AkkaVersion % Test,
"com.lightbend.akka" %% "akka-persistence-jdbc" % PersistenceJdbcVersion,
"com.typesafe.akka" %% "akka-persistence-query" % AkkaVersion,
"com.typesafe.slick" %% "slick" % SlickVersion,
"com.typesafe.slick" %% "slick-hikaricp" % SlickVersion,
"mysql" % "mysql-connector-java" % MysqlDriverVersion,
"com.lightbend.akka.management" %% "akka-management" % AkkaManagementVersion,
"com.lightbend.akka.management" %% "akka-management-cluster-http" % AkkaManagementVersion
)
assembly / assemblyJarName := "sea-battle.jar"
assembly / mainClass := Some("Main")
assembly / assemblyMergeStrategy := {
case "reference.conf" => MergeStrategy.concat
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
assembly / test := {}
enablePlugins(AkkaGrpcPlugin)