forked from zio/zio-telemetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
58 lines (53 loc) · 1.78 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
inThisBuild(
List(
organization := "dev.zio",
licenses := List(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
),
developers := List(
Developer(
"mijicd",
"Dejan Mijic",
url("https://github.com/mijicd")
),
Developer(
"runtologist",
"Simon Schenk",
url("https://github.com/runtologist")
)
),
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/zio-telemetry/"),
"scm:git:[email protected]:zio/zio-telemetry.git"
)
)
)
)
ThisBuild / publishTo := sonatypePublishToBundle.value
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias(
"check",
"all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck"
)
val zioVersion = "1.0.0-RC16"
val opentracingVersion = "0.33.0"
lazy val `zio-opentracing` =
(project in file("."))
.settings(
libraryDependencies := Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"io.opentracing" % "opentracing-api" % opentracingVersion,
"io.opentracing" % "opentracing-mock" % opentracingVersion % Test,
"org.scala-lang.modules" %% "scala-collection-compat" % "2.1.1"
)
)
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1")
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))