This repository has been archived on 2025-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
scala_monolith/build.sbt
2025-08-06 05:15:40 +03:00

58 lines
1.9 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"
val jwtVersion = "10.0.1"
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,
// JWT
"com.github.jwt-scala" %% "jwt-circe" % jwtVersion
)
)