-
Notifications
You must be signed in to change notification settings - Fork 233
/
Copy pathbuild.sbt
36 lines (29 loc) · 1.1 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
31
32
33
34
35
36
import sbt.librarymanagement.ConflictWarning
enablePlugins(JavaAppPackaging)
name := "akka-http-microservice"
organization := "com.theiterators"
version := "1.0"
scalaVersion := "3.4.2"
conflictWarning := ConflictWarning.disable
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
libraryDependencies ++= {
val akkaHttpV = "10.2.10"
val akkaV = "2.6.20"
val circeV = "0.14.9"
val scalaTestV = "3.2.19"
val akkaHttpCirceV = "1.39.2"
Seq(
"io.circe" %% "circe-core" % circeV,
"io.circe" %% "circe-parser" % circeV,
"io.circe" %% "circe-generic" % circeV,
"org.scalatest" %% "scalatest" % scalaTestV % "test"
) ++ Seq(
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-stream" % akkaV,
"com.typesafe.akka" %% "akka-http" % akkaHttpV,
"de.heikoseeberger" %% "akka-http-circe" % akkaHttpCirceV,
"com.typesafe.akka" %% "akka-testkit" % akkaV,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpV % "test"
).map(_.cross(CrossVersion.for3Use2_13))
}
Revolver.settings