-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (38 loc) · 1.57 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
lazy val akkaVersion = "2.8.6"
lazy val jclOverSlf4jVersion = "2.0.5"
lazy val logbackVersion = "1.5.6"
lazy val logstashVersion = "7.4"
lazy val postgresVersion = "42.7.3"
lazy val cassandraDriver = "4.18.1"
lazy val akkaStreamKafkaVersion = "4.0.1"
lazy val kafkaVersion = "3.6.2"
lazy val dslJsonVersion = "2.0.2"
lazy val compileDependencies = Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-kafka" % akkaStreamKafkaVersion,
"com.dslplatform" % "dsl-json" % dslJsonVersion,
"org.apache.kafka" % "kafka-clients" % kafkaVersion,
"org.slf4j" % "jcl-over-slf4j" % jclOverSlf4jVersion,
"net.logstash.logback" % "logstash-logback-encoder" % logstashVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion,
"org.apache.cassandra" % "java-driver-core" % cassandraDriver
)
lazy val assemblySettings = Seq(
assembly / assemblyMergeStrategy := {
case PathList("META-INF", "services", _*) => MergeStrategy.first
case PathList("META-INF", _*) => MergeStrategy.discard
case "reference.conf" => MergeStrategy.concat
case _ => MergeStrategy.first
}
)
lazy val root = (project in file("."))
.settings(
name := "task-scheduler",
scalaVersion := "2.13.12",
libraryDependencies ++= compileDependencies
)
.settings(assemblySettings)