-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
50 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
49
50
import BuildHelper._
inThisBuild(
List(
organization := "info.senia",
homepage := Some(url("https://github.com/senia-psm/zio-test-akka-http")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"senia",
"Simon Popugaev",
url("https://github.com/afsaltha://github.com/senia-psm"),
),
),
scmInfo := Some(
ScmInfo(
url("https://github.com/senia-psm/zio-test-akka-http"),
"scm:git:[email protected]:senia-psm/zio-test-akka-http.git",
),
),
),
)
ThisBuild / publishTo := sonatypePublishToBundle.value
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")
lazy val zioVersion = "2.0.18"
lazy val akkaVersion = "2.6.20"
lazy val akkaHttpVersion = "10.2.10"
lazy val zioTestAkkaHttp =
Project("zio-test-akka-http", file("."))
.settings(stdSettings)
.settings(
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
),
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
).map(_.cross(CrossVersion.for3Use2_13)),
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")),
)