This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
38 lines (32 loc) · 1.49 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
val doobieVersion = "1.0.0-RC1"
scalaVersion := "2.13.11"
name := "book-shop"
libraryDependencies ++= Seq(
"com.softwaremill.sttp.tapir" %% "tapir-core" % "1.4.0",
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "1.4.0",
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "1.4.0",
"org.typelevel" %% "cats-effect" % "3.5.0",
"org.tpolecat" %% "doobie-core" % "1.0.0-RC2",
"org.tpolecat" %% "doobie-hikari" % "1.0.0-RC2", // HikariCP transactor.
"org.tpolecat" %% "doobie-postgres" % "1.0.0-RC2", // Postgres driver 42.3.1 + type mappings.
"tf.tofu" %% "tofu-logging" % "0.12.0.1",
"tf.tofu" %% "tofu-logging-derivation" % "0.12.0.1",
"tf.tofu" %% "tofu-logging-layout" % "0.12.0.1",
"tf.tofu" %% "tofu-logging-logstash-logback" % "0.12.0.1",
"tf.tofu" %% "tofu-logging-structured" % "0.12.0.1",
"tf.tofu" %% "tofu-core-ce3" % "0.12.0.1",
"tf.tofu" %% "tofu-doobie-logging-ce3" % "0.12.0.1",
"com.softwaremill.sttp.client3" %% "core" % "3.8.15",
"tf.tofu" %% "derevo-circe" % "0.13.0",
"io.estatico" %% "newtype" % "0.4.4",
"com.github.pureconfig" %% "pureconfig" % "0.17.4",
"org.http4s" %% "http4s-ember-server" % "0.23.19",
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % "1.5.0",
)
dependencyOverrides += "io.circe" %% "circe-core" % "0.14.3"
scalacOptions ++= Seq("-Ymacro-annotations")
enablePlugins(UniversalPlugin)
enablePlugins(DockerPlugin)
enablePlugins(JavaAppPackaging)
dockerExposedPorts ++= Seq(8080)
dockerBaseImage := "openjdk:17-jdk-slim"