init
This commit is contained in:
parent
d25c1ee577
commit
2241bdae00
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
example/
|
||||||
target/
|
target/
|
||||||
!.mvn/wrapper/maven-wrapper.jar
|
!.mvn/wrapper/maven-wrapper.jar
|
||||||
!**/src/main/**/target/
|
!**/src/main/**/target/
|
||||||
|
|||||||
7
.idea/vcs.xml
generated
Normal file
7
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
<mapping directory="$PROJECT_DIR$/example/chat_private_service" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
34
build.sbt
34
build.sbt
@ -2,7 +2,39 @@ ThisBuild / version := "0.1.0-SNAPSHOT"
|
|||||||
|
|
||||||
ThisBuild / scalaVersion := "3.3.6"
|
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("."))
|
lazy val root = (project in file("."))
|
||||||
.settings(
|
.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
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user