-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
55 lines (47 loc) · 1.95 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
51
52
53
54
55
organization := "com.quasigroup.inc"
name := "zio-akka"
version := "0.9"
scalaVersion := "2.13.4"
libraryDependencies ++= akka ++ http ++ zio
lazy val zio = {
val version = "1.0.3"
Seq(
"dev.zio" %% "zio" % version,
"dev.zio" %% "zio-interop-cats" % "2.2.0.1",
"dev.zio" %% "zio-logging" % "0.5.4",
"dev.zio" %% "zio-logging-slf4j" % "0.5.4",
"dev.zio" %% "zio-test" % version % Test,
"dev.zio" %% "zio-test-sbt" % version % Test,
)
}
lazy val akka = {
val akkaVersion = "2.6.10"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-stream-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-metrics" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-tools" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence" % akkaVersion excludeAll ExclusionRule("io.netty"),
"com.typesafe.akka" %% "akka-persistence-typed" % akkaVersion excludeAll ExclusionRule("io.netty"),
"com.typesafe.akka" %% "akka-persistence-query" % akkaVersion,
"com.typesafe.akka" %% "akka-distributed-data" % akkaVersion,
"com.typesafe.akka" %% "akka-multi-node-testkit" % akkaVersion,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % Test
)
}
lazy val http = {
val akkaHttpVersion = "10.2.2"
Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"de.heikoseeberger" %% "akka-http-circe" % "1.35.2",
"ch.megard" %% "akka-http-cors" % "1.1.0"
)
}