-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
48 lines (40 loc) · 1.92 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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.6.2"
lazy val postgresVersion = "42.7.5"
lazy val logbackVersion = "1.5.18"
lazy val doobieVersion = "1.0.0-RC9"
lazy val http4sVersion = "0.23.30"
lazy val circeVersion = "0.14.12"
lazy val scalatestVersion = "3.2.19"
lazy val pureConfigCoreVersion = "0.17.8"
lazy val root = (project in file("."))
.settings(
name := "postg",
)
scalacOptions += "-deprecation"
libraryDependencies ++= Seq(
// Start with this one
"org.postgresql" % "postgresql" % postgresVersion,
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion, // Postgres driver 42.6.0 + type mappings.
"org.tpolecat" %% "doobie-specs2" % doobieVersion, // Specs2 support for typechecking statements.
"org.tpolecat" %% "doobie-hikari" % doobieVersion, // HikariCP transactor.
"org.http4s" %% "http4s-ember-client" % http4sVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-ember-server" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.github.pureconfig" %% "pureconfig-core" % pureConfigCoreVersion,
"org.typelevel" %% "log4cats-slf4j" % "2.7.0",
"ch.qos.logback" % "logback-classic" % logbackVersion % Runtime,
// And add any of these as needed
// "org.tpolecat" %% "doobie-h2" % "1.0.0-RC4", // H2 driver 1.4.200 + type mappings.
// "org.tpolecat" %% "doobie-scalatest" % "1.0.0-RC4" % "test" // ScalaTest support for type-checking statements.
"org.scalatest" %% "scalatest" % scalatestVersion % Test,
)
//libraryDependencies += "org.typelevel" %% "cats-core" % "2.9.0"
//libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.7"
//libraryDependencies += "org.typelevel" %% "cats-mtl" % "1.5.0"
Compile / run / fork := false