-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
62 lines (51 loc) · 2.27 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
52
53
54
55
56
57
58
59
60
61
62
import sbt.Keys.fork
lazy val commonSettings = Seq(
name := "salary-standoff-api",
version := "0.0.1-SNAPSHOT",
scalaVersion := "2.13.4",
scalacOptions ++= Seq(
"-deprecation",
"-Xfatal-warnings",
"-Ywarn-value-discard",
"-Xlint:missing-interpolator",
"-Ymacro-annotations"
),
)
lazy val Http4sVersion = "0.21.15"
lazy val DoobieVersion = "0.10.0"
lazy val H2Version = "1.4.200"
lazy val FlywayVersion = "7.5.2"
lazy val CirceVersion = "0.13.0"
lazy val PureConfigVersion = "0.12.3"
lazy val LogbackVersion = "1.2.3"
lazy val ScalaTestVersion = "3.2.3"
lazy val ScalaMockVersion = "5.1.0"
lazy val root = (project in file("."))
.configs(IntegrationTest)
.settings(
commonSettings,
Defaults.itSettings,
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-blaze-server" % Http4sVersion,
"org.http4s" %% "http4s-circe" % Http4sVersion,
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"org.http4s" %% "http4s-blaze-client" % Http4sVersion % "it,test",
"org.tpolecat" %% "doobie-core" % DoobieVersion,
"org.tpolecat" %% "doobie-postgres" % DoobieVersion,
"org.tpolecat" %% "doobie-h2" % DoobieVersion,
"org.tpolecat" %% "doobie-hikari" % DoobieVersion,
"com.h2database" % "h2" % H2Version,
"org.flywaydb" % "flyway-core" % FlywayVersion,
"io.circe" %% "circe-generic" % CirceVersion,
"io.circe" %% "circe-literal" % CirceVersion % "it,test",
"io.circe" %% "circe-optics" % CirceVersion % "it",
"com.github.pureconfig" %% "pureconfig" % PureConfigVersion,
"com.github.pureconfig" %% "pureconfig-cats-effect" % PureConfigVersion,
"ch.qos.logback" % "logback-classic" % LogbackVersion,
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"org.scalatest" %% "scalatest" % ScalaTestVersion % "it,test",
"org.scalamock" %% "scalamock" % ScalaMockVersion % "test"
),
fork in IntegrationTest := true,
)
enablePlugins(JavaAppPackaging)