-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.sbt
More file actions
55 lines (51 loc) · 1.83 KB
/
Copy pathbuild.sbt
File metadata and controls
55 lines (51 loc) · 1.83 KB
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
import BuildHelper._
inThisBuild(
List(
organization := "info.senia",
homepage := Some(uri("https://github.com/senia-psm/zio-test-akka-http")),
licenses := List(License.Apache2),
developers := List(
Developer(
"senia",
"Simon Popugaev",
"seniapsm@gmail.com",
uri("https://github.com/afsaltha://github.com/senia-psm"),
),
),
scmInfo := Some(
ScmInfo(
uri("https://github.com/senia-psm/zio-test-akka-http"),
"scm:git:git@github.com:senia-psm/zio-test-akka-http.git",
),
),
pomIncludeRepository := { _ => false },
publishMavenStyle := true,
publishTo := {
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
if version.value.endsWith("-SNAPSHOT") then Some("central-snapshots" at centralSnapshots)
else localStaging.value
},
),
)
addCommandAlias("fmt", ";scalafmtAll;scalafmtSbt")
addCommandAlias("check", ";scalafmtCheckAll;scalafmtSbtCheck")
lazy val zioVersion = "2.1.26"
lazy val akkaVersion = "2.6.20"
lazy val akkaHttpVersion = "10.2.10"
lazy val root =
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")),
)