Skip to content

Commit

Permalink
Merge pull request #897 from SimunKaracic/889-shade-dependencies
Browse files Browse the repository at this point in the history
shade kamon-annotation dependencies
  • Loading branch information
SimunKaracic authored Nov 16, 2020
2 parents 4d38acf + 4aa5868 commit acc3c12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,13 @@ lazy val `kamon-annotation` = (project in file("instrumentation/kamon-annotation
assemblyShadeRules in assembly := Seq(
ShadeRule.rename("javax.el.**" -> "kamon.lib.@0").inAll,
ShadeRule.rename("com.sun.el.**" -> "kamon.lib.@0").inAll,
ShadeRule.rename("com.github.ben-manes.**" -> "kamon.lib.@0").inAll,
ShadeRule.rename("com.github.benmanes.**" -> "kamon.lib.@0").inAll,
ShadeRule.rename("com.google.errorprone.**" -> "kamon.lib.@0").inAll,
ShadeRule.rename("org.checkerframework.**" -> "kamon.lib.@0").inAll,
),
libraryDependencies ++= Seq(
kanelaAgent % "provided",
"com.github.ben-manes.caffeine" % "caffeine" % "2.8.5" % "provided,shaded", // provided? no?
"com.github.ben-manes.caffeine" % "caffeine" % "2.8.5" % "provided,shaded",
"org.glassfish" % "javax.el" % "3.0.1-b11" % "provided,shaded",
scalatest % "test",
logbackClassic % "test",
Expand Down
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object BaseProject extends AutoPlugin {
val hdrHistogram = "org.hdrhistogram" % "HdrHistogram" % "2.1.10"
val okHttp = "com.squareup.okhttp3" % "okhttp" % "3.14.7"
val okHttpMockServer = "com.squareup.okhttp3" % "mockwebserver" % "3.10.0"
val oshiCore = "com.github.oshi" % "oshi-core" % "5.2.5"
val oshiCore = "com.github.oshi" % "oshi-core" % "5.3.4"


val kanelaAgentVersion = settingKey[String]("Kanela Agent version")
Expand Down

0 comments on commit acc3c12

Please sign in to comment.