-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
64 lines (50 loc) · 2.14 KB
/
build.sbt
File metadata and controls
64 lines (50 loc) · 2.14 KB
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
enablePlugins(JavaAppPackaging)
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.3.6"
Global / cancelable := true
val zioVersion = "2.1.19"
val zioHttpVersion = "3.2.0"
val zioLoggingVersion = "2.5.1"
val sttpVersion = "4.0.7"
val tapirVersion = "1.11.33"
val quillVersion = "4.8.6"
val circeVersion = "0.14.14"
lazy val root = (project in file("."))
.settings(
scalacOptions ++= Seq("-Xmax-inlines", "64"),
name := "CookCookHnya-backend",
scalacOptions ++= Seq(
"-Wunused:imports"
),
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
// tapir
"com.softwaremill.sttp.tapir" %% "tapir-core" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-netty-server-zio" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-zio-http-server" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-prometheus-metrics" % tapirVersion,
// db
"com.augustnagro" %% "magnumzio" % "2.0.0-M1",
"com.zaxxer" % "HikariCP" % "6.3.0", // connection pool
"org.postgresql" % "postgresql" % "42.7.7",
"io.getquill" %% "quill-jdbc-zio" % quillVersion,
"io.circe" %% "circe-generic" % circeVersion,
"ch.qos.logback" % "logback-classic" % "1.4.14",
"me.xdrop" % "fuzzywuzzy" % "1.4.0",
"commons-codec" % "commons-codec" % "1.16.0",
// tests
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-http-testkit" % "3.3.3" % Test,
"com.dimafeng" %% "testcontainers-scala-postgresql" % "0.43.0" % Test,
"org.testcontainers" % "postgresql" % "1.21.3" % Test,
// logging
"dev.zio" %% "zio-logging" % zioLoggingVersion,
"dev.zio" %% "zio-logging-slf4j" % zioLoggingVersion,
"dev.zio" %% "zio-logging-slf4j-bridge" % zioLoggingVersion,
"net.logstash.logback" % "logstash-logback-encoder" % "7.4",
),
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)