-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.sbt
51 lines (43 loc) · 1.73 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
43
44
45
46
47
48
49
50
51
name := "applied-scala"
version := "1.0"
scalaVersion := "2.13.8"
Compile / run / mainClass := Some("com.reagroup.appliedscala.Main")
val catsVersion = "2.7.0"
val circeVersion = "0.14.1"
val http4sVersion = "0.23.11"
val logbackVersion = "1.2.11"
val postgresqlVersion = "42.2.4"
val doobieVersion = "1.0.0-RC1"
val specs2Version = "4.10.1"
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser",
// for auto-derivation of JSON codecs
"io.circe" %% "circe-generic",
// for string interpolation to JSON model
"io.circe" %% "circe-literal"
).map(_ % circeVersion)
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.http4s" %% "http4s-blaze-server" % http4sVersion,
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion,
"org.postgresql" % "postgresql" % postgresqlVersion,
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"org.specs2" %% "specs2-core" % specs2Version % Test,
"org.specs2" %% "specs2-matcher-extra" % specs2Version % Test,
"org.specs2" %% "specs2-scalacheck" % specs2Version % Test
)
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-language:higherKinds"
)
testFrameworks := Seq(TestFrameworks.Specs2)