forked from zio/interop-reactive-streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (46 loc) · 1.79 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 := "dev.zio",
homepage := Some(url("https://zio.dev")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"jdegoes",
"John De Goes",
"john@degoes.net",
url("http://degoes.net")
)
),
pgpPassphrase := sys.env.get("PGP_PASSWORD").map(_.toArray),
pgpPublicRing := file("/tmp/public.asc"),
pgpSecretRing := file("/tmp/secret.asc"),
scmInfo := Some(
ScmInfo(
url("https://github.com/zio/interop-reactive-streams/"),
"scm:git:git@github.com:zio/interop-reactive-streams.git"
)
)
)
)
ThisBuild / publishTo := sonatypePublishToBundle.value
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1")
lazy val reactiveStreams = project
.in(file("."))
.enablePlugins(BuildInfoPlugin)
.settings(stdSettings("zio-interop-reactiveStreams"))
.settings(buildInfoSettings)
.settings(testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"))
.settings(
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "1.0.0-RC17",
"dev.zio" %% "zio-streams" % "1.0.0-RC17",
"dev.zio" %% "zio-test" % "1.0.0-RC17" % Test,
"dev.zio" %% "zio-test-sbt" % "1.0.0-RC17" % Test,
"org.reactivestreams" % "reactive-streams" % "1.0.3",
"org.reactivestreams" % "reactive-streams-tck" % "1.0.3" % Test,
"org.scala-lang.modules" %% "scala-collection-compat" % "2.1.3" % Test
)
)