-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
69 lines (60 loc) · 2.8 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
57
58
59
60
61
62
63
64
65
66
67
68
69
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.3.0"
javacOptions := Seq("--release", "18")
val akkaVersion = "2.10.1"
val akkaHttpVersion = "10.7.0"
val akkaPersistenceVersion = "2.10.1"
val akkaProjectionVersion = "1.6.8"
val kafkaVersion = "3.8.0"
val sttpVersion = "3.10.0"
val circeVersion = "0.14.7"
val slf4jVersion = "2.0.12"
val pircbotxVersion = "2.1"
val dotenvVersion = "5.2.2"
resolvers += "Akka Repository" at "https://repo.akka.io/maven/"
assembly / mainClass := Some("pl.sknikod.streamscout.TwitchClusterApp")
lazy val root = (project in file("."))
.settings(
name := "StreamScout",
idePackagePrefix := Some("pl.sknikod.streamscout"),
assembly / assemblyJarName := "stream-scout-app-assembly-0.1.0-SNAPSHOT.jar",
assembly / assemblyMergeStrategy := {
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case PathList("META-INF", "versions", xs @ _*) => MergeStrategy.discard
case PathList("reference.conf") => MergeStrategy.concat
case x => MergeStrategy.first
},
libraryDependencies ++= Seq(
// Akka dependencies
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-serialization-jackson" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence" % akkaPersistenceVersion,
"com.typesafe.akka" %% "akka-persistence-typed" % akkaPersistenceVersion,
"com.typesafe.akka" %% "akka-persistence-cassandra" % "1.3.0",
"com.typesafe.akka" %% "akka-persistence-query" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-tools" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-kafka" % "7.0.1",
// Akka Projection
"com.lightbend.akka" %% "akka-projection-core" % akkaProjectionVersion,
"com.lightbend.akka" %% "akka-projection-cassandra" % akkaProjectionVersion,
"com.lightbend.akka" %% "akka-projection-eventsourced" % akkaProjectionVersion,
// Logging and utilities
"org.slf4j" % "slf4j-api" % slf4jVersion,
"io.github.cdimascio" % "java-dotenv" % dotenvVersion,
// Additional dependencies
"org.pircbotx" % "pircbotx" % pircbotxVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % "0.14.10",
"org.apache.kafka" % "kafka-clients" % kafkaVersion,
"com.softwaremill.sttp.client3" %% "core" % sttpVersion,
"com.softwaremill.sttp.client3" %% "circe" % sttpVersion,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-future" % "3.10.1"
),
scalacOptions ++= Seq(
"-Xmax-inlines", "64"
)
)