-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
60 lines (52 loc) · 2.18 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
resolvers += "Artima Maven Repository" at "https://repo.artima.com/releases"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.6"
lazy val root = (project in file("."))
.settings(
name := "simple-health-check",
organization := "me.alstepan",
assembly / mainClass := Some("me.alstepan.healthcheck.Server")
)
ThisBuild / assemblyMergeStrategy := {
case "application.conf" => MergeStrategy.concat
case x =>
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
oldStrategy(x)
}
Test / fork := true
libraryDependencies ++= Seq(
// cats
"org.typelevel" %% "cats-core" % "2.7.0",
"org.typelevel" %% "cats-effect" % "3.3.0",
// config
"com.github.pureconfig" %% "pureconfig" % "0.17.1",
// circe
"com.monovore" %% "decline" % "2.2.0",
"io.circe" %% "circe-core" % "0.14.1",
"io.circe" %% "circe-parser" % "0.14.1",
"io.circe" %% "circe-generic" % "0.14.1",
"io.circe" %% "circe-literal" % "0.14.1",
// http4s
"org.http4s" %% "http4s-dsl" % "0.23.7",
"org.http4s" %% "http4s-circe" % "0.23.7",
"org.http4s" %% "http4s-blaze-server" % "0.23.7",
"org.http4s" %% "http4s-blaze-client" % "0.23.7",
//postgres
"org.postgresql" % "postgresql" % "42.3.1",
//flyway
"org.flywaydb" % "flyway-core" % "8.1.0", //db migration
//doobie
"org.tpolecat" %% "doobie-core" % "1.0.0-RC1",
"org.tpolecat" %% "doobie-hikari" % "1.0.0-RC1", // HikariCP transactor.
"org.tpolecat" %% "doobie-postgres" % "1.0.0-RC1",
"org.tpolecat" %% "doobie-quill" % "1.0.0-RC1", // Postgres driver 42.3.1 + type mappings.
// logging
"org.slf4j" % "slf4j-api" % "2.0.0-alpha0",
"ch.qos.logback" % "logback-classic" % "1.3.0-alpha10",
"org.typelevel" %% "log4cats-core" % "2.1.1",
"org.typelevel" %% "log4cats-slf4j" % "2.1.1",
//tests
"org.scalactic" %% "scalactic" % "3.2.10",
"org.scalatest" %% "scalatest" % "3.2.10" % Test,
"org.typelevel" %% "cats-effect-testing-scalatest" % "1.3.0" % Test,
)