-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
37 lines (34 loc) · 1.46 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
val tapirVersion = "1.2.10"
val doobieVersion = "1.0.0-RC2"
ThisBuild / scalacOptions ++=
Seq("-Xmax-inlines", "256", "-Xfatal-warnings", "-deprecation")
lazy val rootProject = (project in file(".")).settings(
Seq(
name := "moviesdb",
version := "0.1.0-SNAPSHOT",
scalaVersion := "3.2.2",
libraryDependencies ++= Seq(
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % tapirVersion,
"org.http4s" %% "http4s-ember-server" % "0.23.18",
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion,
"ch.qos.logback" % "logback-classic" % "1.4.6",
"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test,
"org.scalameta" %% "munit" % "1.0.0-M7" % Test,
"com.softwaremill.sttp.client3" %% "circe" % "3.8.13" % Test,
"io.circe" %% "circe-core" % "0.14.5",
"org.flywaydb" % "flyway-core" % "9.17.0",
"org.xerial" % "sqlite-jdbc" % "3.41.2.1",
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-munit" % doobieVersion % Test
)
)
)
assembly / assemblyMergeStrategy := {
case path if path.endsWith("module-info.class") => MergeStrategy.discard
case PathList("META-INF", "maven", "org.webjars", "swagger-ui", "pom.properties") =>
MergeStrategy.singleOrError
case x =>
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
oldStrategy(x)
}