-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathbuild.sbt
79 lines (57 loc) · 2.63 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
lazy val commonSettings = Seq(
version := "1.0-SNAPSHOT",
scalaVersion := "2.13.15",
scalacOptions ++= Seq(
"-deprecation",
"-Xfatal-warnings",
"-Ywarn-value-discard",
"-Xlint:missing-interpolator"
),
)
lazy val Http4sVersion = "0.23.30"
lazy val DoobieVersion = "1.0.0-RC6"
lazy val H2Version = "2.3.232"
lazy val FlywayVersion = "11.1.0"
lazy val CirceVersion = "0.14.10"
lazy val CirceOpticsVersion = "0.15.0"
lazy val PureConfigVersion = "0.17.8"
lazy val LogbackVersion = "1.5.15"
lazy val JansiVersion = "2.4.1"
lazy val ScalaTestVersion = "3.2.19"
lazy val ScalaMockVersion = "6.0.0"
lazy val root = (project in file("."))
.settings(
name := "todo http4s doobie",
commonSettings,
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-server" % Http4sVersion,
"org.http4s" %% "http4s-circe" % Http4sVersion,
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"org.http4s" %% "http4s-ember-client" % Http4sVersion % Test,
"org.tpolecat" %% "doobie-core" % 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 % Test,
"com.github.pureconfig" %% "pureconfig" % PureConfigVersion,
"com.github.pureconfig" %% "pureconfig-cats-effect" % PureConfigVersion,
"ch.qos.logback" % "logback-classic" % LogbackVersion,
"org.fusesource.jansi" % "jansi" % JansiVersion,
"org.scalatest" %% "scalatest" % ScalaTestVersion % Test,
"org.scalamock" %% "scalamock" % ScalaMockVersion % Test
)
)
lazy val integrationTest = (project in file("integrationTest"))
.dependsOn(root)
.settings(
commonSettings,
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-client" % Http4sVersion % Test,
"io.circe" %% "circe-literal" % CirceVersion % Test,
"io.circe" %% "circe-optics" % CirceOpticsVersion % Test,
"org.scalatest" %% "scalatest" % ScalaTestVersion % Test,
"org.scalamock" %% "scalamock" % ScalaMockVersion % Test
)
)