-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuild.sbt
46 lines (41 loc) · 1.46 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
name := "zio-examples"
version := "0.1"
scalaVersion := "2.13.3"
val Http4sVersion = "0.21.22"
val CirceVersion = "0.13.0"
val DoobieVersion = "0.12.1"
val ZIOVersion = "1.0.6"
val PureConfigVersion = "0.15.0"
val ZIOInterop = "2.4.0.0"
libraryDependencies ++= Seq(
// ZIO
"dev.zio" %% "zio" % ZIOVersion,
"com.github.wi101" %% "embroidery" % "0.1.1",
"dev.zio" %% "zio-interop-cats" % ZIOInterop,
"dev.zio" %% "zio-test" % ZIOVersion % "test",
"dev.zio" %% "zio-test-sbt" % ZIOVersion % "test",
// Http4s
"org.http4s" %% "http4s-blaze-server" % Http4sVersion,
"org.http4s" %% "http4s-circe" % Http4sVersion,
"org.http4s" %% "http4s-dsl" % Http4sVersion,
// Circe
"io.circe" %% "circe-generic" % CirceVersion,
"io.circe" %% "circe-generic-extras" % CirceVersion,
// Doobie
"org.tpolecat" %% "doobie-core" % DoobieVersion,
"org.tpolecat" %% "doobie-h2" % DoobieVersion,
//pure config
"com.github.pureconfig" %% "pureconfig" % PureConfigVersion,
// log4j
"org.slf4j" % "slf4j-log4j12" % "1.7.30"
)
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-feature",
"-Xlint"
)
scalafmtOnCompile := true
// scalafix; run with `scalafixEnable` followed by `scalafixAll`
ThisBuild / scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.4.3"
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))