-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
28 lines (24 loc) · 925 Bytes
/
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
ThisBuild / scalaVersion := "3.4.2"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.example"
ThisBuild / organizationName := "example"
lazy val zioVersion = "2.1.9"
lazy val zioHttpVersion = "3.0.0-RC10"
lazy val zioJsonVersion = "0.7.3"
lazy val root = (project in file("."))
.settings(
name := "zio-http-swagger-example-scala3",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-http" % zioHttpVersion,
"dev.zio" %% "zio-json" % zioJsonVersion
) ++ testDependencies,
scalacOptions ++= Seq("-Yretain-trees"),
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)
lazy val testDependencies = Seq(
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-test-magnolia" % zioVersion % Test
)