-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sbt
48 lines (45 loc) · 1.65 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
val zioSqlVersion = "0.1.1"
val zioVersion = "2.0.7"
val zioHttpVersion = "0.0.4"
val zioJsonVersion = "0.3.0-RC3"
val zioConfigVersion = "3.0.7"
val logbackVersion = "1.2.7"
val testcontainersVersion = "1.16.2"
val testcontainersScalaVersion = "0.39.12"
lazy val root = (project in file("."))
.settings(
inThisBuild(
List(
name := "zio-sql-example",
organization := "sviezypan",
version := "0.0.1",
scalaVersion := "2.13.7"
)
),
name := "zio-sql-example",
libraryDependencies ++= Seq(
//core
"dev.zio" %% "zio" % zioVersion,
//sql
"dev.zio" %% "zio-sql-postgres" % zioSqlVersion,
//http
"dev.zio" %% "zio-http" % zioHttpVersion,
//config
"dev.zio" %% "zio-config" % zioConfigVersion,
"dev.zio" %% "zio-config-typesafe" % zioConfigVersion,
"dev.zio" %% "zio-config-magnolia" % zioConfigVersion,
//json
"dev.zio" %% "zio-json" % zioJsonVersion,
// test dependencies
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-test-junit" % zioVersion % Test,
"com.dimafeng" %% "testcontainers-scala-postgresql" % testcontainersScalaVersion % Test,
"org.testcontainers" % "testcontainers" % testcontainersVersion % Test,
"org.testcontainers" % "database-commons" % testcontainersVersion % Test,
"org.testcontainers" % "postgresql" % testcontainersVersion % Test,
"org.testcontainers" % "jdbc" % testcontainersVersion % Test,
),
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))
)
.enablePlugins(JavaAppPackaging)