-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
38 lines (31 loc) · 1.18 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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.3.1"
enablePlugins(PekkoGrpcPlugin)
lazy val pekkoV = "1.0.1"
lazy val pekkoHttpV = "1.0.0"
lazy val pekkoConnV = "1.0.0"
lazy val root = (project in file("."))
.settings(
name := "benchmark-driver",
libraryDependencies ++= Seq(
"org.apache.pekko" %% "pekko-actor-typed" % pekkoV,
"org.apache.pekko" %% "pekko-stream-typed" % pekkoV,
"org.apache.pekko" %% "pekko-http" % pekkoHttpV,
"org.apache.pekko" %% "pekko-http-core" % pekkoHttpV,
"org.apache.pekko" %% "pekko-connectors-file" % pekkoConnV,
),
assembly / assemblyMergeStrategy := {
case PathList("module-info.class") => MergeStrategy.discard
case PathList("META-INF", xs @ _*) => (xs map {_.toLowerCase}) match {
case "services" :: xs => MergeStrategy.filterDistinctLines
case _ => MergeStrategy.discard
}
case PathList("reference.conf") => MergeStrategy.concat
case _ => MergeStrategy.first
},
assembly / assemblyOutputPath := file("target/assembly/benchmark-assembly.jar"),
// emit deprecated warnings
scalacOptions ++= Seq(
"-deprecation",
),
)