-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
41 lines (36 loc) · 1.61 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
ThisBuild / scalaVersion := "3.4.1"
val PekkoVersion = "1.0.2"
val PekkoHttpVersion = "1.0.1"
val PekkoManagementVersion = "1.0.0"
assembly / assemblyMergeStrategy := {
case PathList("META-INF", "versions", "9", "module-info.class") => MergeStrategy.discard
case PathList("module-info.class") => MergeStrategy.discard
case x =>
val oldStrategy = (assembly / assemblyMergeStrategy).value
oldStrategy(x)
}
libraryDependencies ++= Seq(
"org.apache.pekko" %% "pekko-actor-typed" % PekkoVersion,
"org.apache.pekko" %% "pekko-stream" % PekkoVersion,
"org.apache.pekko" %% "pekko-http" % PekkoHttpVersion excludeAll(
ExclusionRule("com.fasterxml.jackson.core", "jackson-core"),
ExclusionRule("com.fasterxml.jackson.core", "jackson-databind"),
ExclusionRule("com.fasterxml.jackson.module", "jackson-module-parameter-names"),
ExclusionRule("com.fasterxml.jackson.datatype", "jackson-datatype-jdk8"),
ExclusionRule("com.fasterxml.jackson.datatype", "jackson-datatype-jsr310"),
ExclusionRule("com.fasterxml.jackson.dataformat", "jackson-dataformat-cbor")
),
"org.apache.pekko" %% "pekko-cluster-typed" % PekkoVersion,
"org.apache.pekko" %% "pekko-serialization-jackson" % PekkoVersion,
"ch.qos.logback" % "logback-classic" % "1.5.6"
)
libraryDependencies ++= Seq(
// "org.apache.pekko" %% "pekko-management-cluster-bootstrap" % PekkoManagementVersion,
// "org.apache.pekko" %% "pekko-discovery" % PekkoVersion
)
lazy val root = (project in file("."))
.settings(
name := "braindrill",
assembly / assemblyJarName := "braindrill.jar",
assembly / mainClass := Some("BrainDrill"),
)