54 lines
1.8 KiB
Scala
54 lines
1.8 KiB
Scala
ThisBuild / version := "0.1.0-SNAPSHOT"
|
|
|
|
ThisBuild / scalaVersion := "3.3.6"
|
|
|
|
val catsVersion = "3.6.1"
|
|
val http4sVersion = "0.23.30"
|
|
val circeVersion = "0.14.8"
|
|
val fs2Version = "3.12.0"
|
|
val tapirVersion = "1.11.35"
|
|
val openapiVersion = "0.11.10"
|
|
val log4catsVersion = "2.6.0"
|
|
val logbackVersion = "1.4.11"
|
|
val vaultVersion = "3.6.0"
|
|
val doobieVersion = "1.0.0-RC5"
|
|
val postgresqlVersion = "42.7.4"
|
|
val bcryptVersion = "0.10.2"
|
|
|
|
|
|
lazy val root = (project in file("."))
|
|
.settings(
|
|
name := "scala_monolith",
|
|
libraryDependencies ++= Seq(
|
|
"org.typelevel" %% "cats-effect" % catsVersion,
|
|
"org.http4s" %% "http4s-ember-server" % http4sVersion,
|
|
"org.http4s" %% "http4s-ember-client" % http4sVersion,
|
|
"org.http4s" %% "http4s-dsl" % http4sVersion,
|
|
"org.http4s" %% "http4s-circe" % http4sVersion,
|
|
"io.circe" %% "circe-generic" % circeVersion,
|
|
"co.fs2" %% "fs2-io" % fs2Version,
|
|
|
|
// Tapir + Swagger
|
|
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % tapirVersion,
|
|
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion,
|
|
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion,
|
|
"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % tapirVersion,
|
|
"com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % openapiVersion,
|
|
|
|
// logs
|
|
"org.typelevel" %% "log4cats-slf4j" % log4catsVersion,
|
|
"ch.qos.logback" % "logback-classic" % logbackVersion,
|
|
|
|
"org.typelevel" %% "vault" % vaultVersion,
|
|
|
|
// Database
|
|
"org.tpolecat" %% "doobie-core" % doobieVersion,
|
|
"org.tpolecat" %% "doobie-hikari" % doobieVersion,
|
|
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
|
|
"org.postgresql" % "postgresql" % postgresqlVersion,
|
|
|
|
// Bcrypt
|
|
"at.favre.lib" % "bcrypt" % bcryptVersion
|
|
)
|
|
)
|