This repository has been archived by the owner on Mar 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
/
build.sbt
55 lines (48 loc) · 2.69 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
/*
* =========================================================================================
* Copyright © 2013-2017 the kamon project <http://kamon.io/>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
* =========================================================================================
*/
resolvers += Resolver.mavenLocal
resolvers += Resolver.bintrayRepo("hseeberger", "maven")
val kamonCore = "io.kamon" %% "kamon-core" % "2.0.3"
val kamonTestKit = "io.kamon" %% "kamon-testkit" % "2.0.3"
val kamonCommon = "io.kamon" %% "kamon-instrumentation-common" % "2.0.1"
val kamonAkka25 = "io.kamon" %% "kamon-akka" % "2.0.1"
val kanelaAgent = "io.kamon" % "kanela-agent" % "1.0.4"
val akkaHttpJson = "de.heikoseeberger" %% "akka-http-json4s" % "1.27.0"
val json4sNative = "org.json4s" %% "json4s-native" % "3.6.7"
val http25 = "com.typesafe.akka" %% "akka-http" % "10.1.9"
val http2Support = "com.typesafe.akka" %% "akka-http2-support" % "10.1.9"
val httpTestKit25 = "com.typesafe.akka" %% "akka-http-testkit" % "10.1.9"
val stream25 = "com.typesafe.akka" %% "akka-stream" % "2.5.24"
val okHttp = "com.squareup.okhttp3" % "okhttp" % "3.14.2"
lazy val root = (project in file("."))
.settings(noPublishing: _*)
.settings(
name := "kamon-akka-http",
crossScalaVersions := Nil
).aggregate(kamonAkkaHttp25)
lazy val kamonAkkaHttp25 = Project("kamon-akka-http", file("kamon-akka-http"))
.enablePlugins(JavaAgent)
.settings(instrumentationSettings)
.settings(Seq(
name := "kamon-akka-http",
moduleName := "kamon-akka-http",
bintrayPackage := "kamon-akka-http",
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0")),
javaAgents += "org.mortbay.jetty.alpn" % "jetty-alpn-agent" % "2.0.9" % "test",
libraryDependencies ++=
compileScope(kamonCore, kamonAkka25, kamonCommon) ++
providedScope(kanelaAgent, http25, http2Support, stream25) ++
testScope(httpTestKit25, scalatest, slf4jApi, slf4jnop, kamonTestKit, akkaHttpJson, json4sNative, okHttp))