diff --git a/.gitignore b/.gitignore index bf3788d..aac0448 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +example/ target/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..7f06b6e --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index e69de29..79d2d78 100644 --- a/README.md +++ b/README.md @@ -0,0 +1 @@ +# scala_monolith diff --git a/build.sbt b/build.sbt index a3f30fe..be229f4 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,39 @@ 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" + lazy val root = (project in file(".")) .settings( - name := "scala_monolith" + 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 + ) )