-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
35 lines (32 loc) · 1.28 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
import sbt._
import Keys._
name := "joinus-devops-service"
organization := "com.softwaremill"
version := "1.0.0-SNAPSHOT"
scalaVersion := "2.13.16"
mainClass := Some("com.softwaremill.Main")
libraryDependencies ++= {
val AkkaVersion = "2.8.8"
val AkkaHttpVersion = "10.5.3"
val Json4sVersion = "4.0.7"
val ScalaLoggingVersion = "3.9.5"
val Slf4jVersion = "2.0.16"
val ScalatestVersion = "3.2.19"
Seq(
"com.typesafe.akka" %% "akka-actor" % AkkaVersion,
"com.typesafe.akka" %% "akka-stream" % AkkaVersion,
"com.typesafe.akka" %% "akka-http" % AkkaHttpVersion,
"com.typesafe.scala-logging" %% "scala-logging" % ScalaLoggingVersion,
"org.json4s" %% "json4s-native" % Json4sVersion,
"com.typesafe.akka" %% "akka-slf4j" % AkkaVersion,
"org.slf4j" % "slf4j-simple" % Slf4jVersion,
"org.scalatest" %% "scalatest" % ScalatestVersion % "test"
)
}
assembly / assemblyMergeStrategy := {
case PathList("module-info.class") => MergeStrategy.last
case path if path.endsWith("/module-info.class") => MergeStrategy.last
case x =>
val oldStrategy = (assembly / assemblyMergeStrategy).value
oldStrategy(x)
}