-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
build.sbt
30 lines (25 loc) · 1.13 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
name := "swagger-akka-http-sample"
scalaVersion := "2.13.11"
val akkaVersion = "2.6.21"
val akkaHttpVersion = "10.2.10"
val jacksonVersion = "2.15.2"
val swaggerVersion = "2.2.15"
//resolvers ++= Resolver.sonatypeOssRepos("snapshots")
val swaggerDependencies = Seq(
"jakarta.ws.rs" % "jakarta.ws.rs-api" % "3.0.0",
"com.github.swagger-akka-http" %% "swagger-akka-http" % "2.11.0",
"com.github.swagger-akka-http" %% "swagger-scala-module" % "2.11.0",
"com.github.swagger-akka-http" %% "swagger-enumeratum-module" % "2.8.0",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonVersion,
"io.swagger.core.v3" % "swagger-jaxrs2-jakarta" % swaggerVersion
)
libraryDependencies ++= Seq(
"pl.iterators" %% "kebs-spray-json" % "1.9.5",
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"ch.megard" %% "akka-http-cors" % "1.1.3",
"org.slf4j" % "slf4j-simple" % "2.0.7"
) ++ swaggerDependencies