-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
42 lines (35 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
31
32
33
34
35
36
37
38
39
40
41
42
version := "0.1"
scalaVersion := "2.13.7"
val http4sVersion = "0.21.2"
val circeVersion = "0.13.0"
val catsVersion = "2.3.0"
val fs2Version = "2.2.1"
val http4sDependencies = Seq(
"org.http4s" %% "http4s-dsl",
"org.http4s" %% "http4s-blaze-server",
"org.http4s" %% "http4s-blaze-client",
"org.http4s" %% "http4s-circe"
).map(_ % http4sVersion)
val jsonDependencies = Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % circeVersion)
val catsDependencies = Seq(
"org.typelevel" %% "cats-core",
"org.typelevel" %% "cats-effect",
).map(_ % catsVersion)
val fs2Dependencies = Seq(
"co.fs2" %% "fs2-core",
"co.fs2" %% "fs2-io"
).map(_ % fs2Version)
lazy val root = (project in file("."))
.settings(
name := "scala-backend",
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.scalatest" %% "scalatest" % "3.1.1" % Test,
"org.scalatestplus" %% "scalacheck-1-14" % "3.1.1.1" % Test,
"org.scalacheck" %% "scalacheck" % "1.14.1" % Test
) ++ http4sDependencies ++ jsonDependencies ++ catsDependencies ++ fs2Dependencies
)