aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2018-02-20 09:56:42 +0100
committeradamw <adam@warski.org>2018-02-20 09:56:42 +0100
commit0f2ad1a1ef77364f0776232a88992e8cba30d28d (patch)
tree94eefd81a67c627f18ed0bb0185bc940157d7a12 /build.sbt
parent7178f4248121f06448eb6c1ead37521d94aed1e8 (diff)
downloadsttp-0f2ad1a1ef77364f0776232a88992e8cba30d28d.tar.gz
sttp-0f2ad1a1ef77364f0776232a88992e8cba30d28d.tar.bz2
sttp-0f2ad1a1ef77364f0776232a88992e8cba30d28d.zip
Brave backend
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt19
1 files changed, 17 insertions, 2 deletions
diff --git a/build.sbt b/build.sbt
index 497bcfb..3c409d1 100644
--- a/build.sbt
+++ b/build.sbt
@@ -39,8 +39,6 @@ val akkaHttp = "com.typesafe.akka" %% "akka-http" % akkaHttpVersion
val monixVersion = "2.3.3"
val monix = "io.monix" %% "monix" % monixVersion
-val circeVersion = "0.9.1"
-
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.5"
lazy val rootProject = (project in file("."))
@@ -59,6 +57,7 @@ lazy val rootProject = (project in file("."))
okhttpMonixBackend,
circe,
json4s,
+ brave,
tests
)
@@ -152,6 +151,8 @@ lazy val okhttpMonixBackend: Project = (project in file("okhttp-backend/monix"))
libraryDependencies ++= Seq(monix)
) dependsOn okhttpBackend
+lazy val circeVersion = "0.9.1"
+
lazy val circe: Project = (project in file("json/circe"))
.settings(commonSettings: _*)
.settings(
@@ -173,6 +174,20 @@ lazy val json4s: Project = (project in file("json/json4s"))
)
) dependsOn core
+lazy val braveVersion = "4.15.1"
+
+lazy val brave: Project = (project in file("metrics/brave"))
+ .settings(commonSettings: _*)
+ .settings(
+ name := "brave",
+ libraryDependencies ++= Seq(
+ "io.zipkin.brave" % "brave" % braveVersion,
+ "io.zipkin.brave" % "brave-instrumentation-http" % braveVersion,
+ "io.zipkin.brave" % "brave-instrumentation-http-tests" % braveVersion % "test",
+ scalaTest % "test"
+ )
+ ).dependsOn(core)
+
lazy val tests: Project = (project in file("tests"))
.settings(commonSettings: _*)
.settings(