forked from zio/zio-akka-cluster
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
67 lines (61 loc) · 2.13 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
56
57
58
59
60
61
62
63
64
65
66
67
val mainScala = "3.3.1"
val allScala = Seq("2.13.11", mainScala)
val zioVersion = "2.0.15"
val pekkoVersion = "1.0.2"
inThisBuild(
List(
organization := "org.bitlap",
homepage := Some(url("https://github.com/bitlap/zio-pekko")),
licenses := List("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
scalaVersion := mainScala,
crossScalaVersions := allScala,
Test / parallelExecution := false,
Test / fork := true,
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
scmInfo := Some(
ScmInfo(url("https://github.com/bitlap/zio-pekko"), "scm:git:[email protected]:bitlap/zio-pekko.git")
),
developers := List(
Developer(
"jxnu-liguobin",
"jxnu-liguobin",
url("https://github.com/jxnu-liguobin")
)
),
scalacOptions ++= Seq(
"-encoding",
"UTF-8",
"-feature",
"-language:higherKinds",
"-language:existentials",
"-unchecked",
"-deprecation"
)
)
)
lazy val `zio-pekko` =
project
.in(file("."))
.settings(
publish / skip := true
)
.aggregate(`zio-pekko-cluster`)
lazy val `zio-pekko-cluster` = project
.in(file("zio-pekko-cluster"))
.settings(
name := "zio-pekko-cluster",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-streams" % zioVersion,
"org.apache.pekko" %% "pekko-cluster-tools" % pekkoVersion,
"org.apache.pekko" %% "pekko-cluster-sharding" % pekkoVersion,
"dev.zio" %% "zio-test" % zioVersion % "test",
"dev.zio" %% "zio-test-sbt" % zioVersion % "test"
),
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)
run / fork := true
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")