-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
38 lines (32 loc) · 1.18 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
name := "poc-http4s"
version := "0.1"
scalaVersion := "2.12.8"
scalacOptions ++= Seq("-Ypartial-unification")
lazy val V = new {
val paradiseVersion = "2.1.1"
val http4sVersion = "0.20.0-M6"
val circeVersion = "0.11.1"
val logbackVersion = "1.2.3"
val monocleVersion = "1.5.0"
}
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-blaze-server" % V.http4sVersion,
"org.http4s" %% "http4s-blaze-client" % V.http4sVersion,
"org.http4s" %% "http4s-circe" % V.http4sVersion,
"org.http4s" %% "http4s-dsl" % V.http4sVersion,
"io.circe" %% "circe-generic" % V.circeVersion,
"ch.qos.logback" % "logback-classic" % V.logbackVersion,
"com.github.julien-truffaut" %% "monocle-core" % V.monocleVersion,
"com.github.julien-truffaut" %% "monocle-macro" % V.monocleVersion
)
addCompilerPlugin("org.scalamacros" % "paradise" % V.paradiseVersion cross CrossVersion.full)
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-language:higherKinds",
"-language:postfixOps",
"-feature",
"-Ypartial-unification",
"-Xfatal-warnings",
)