diff --git a/instrumentation/akka-context-propagation/akka-context-propagation.gradle b/instrumentation/akka-context-propagation-2.5/akka-context-propagation-2.5.gradle similarity index 77% rename from instrumentation/akka-context-propagation/akka-context-propagation.gradle rename to instrumentation/akka-context-propagation-2.5/akka-context-propagation-2.5.gradle index 28ef8af9498..0ba2dd4f7a9 100644 --- a/instrumentation/akka-context-propagation/akka-context-propagation.gradle +++ b/instrumentation/akka-context-propagation-2.5/akka-context-propagation-2.5.gradle @@ -1,6 +1,14 @@ apply from: "$rootDir/gradle/instrumentation.gradle" apply from: "$rootDir/gradle/test-with-scala.gradle" +muzzle { + pass { + group = 'com.typesafe.akka' + module = 'akka-actor_2.11' + versions = "[2.5.0,)" + } +} + dependencies { implementation project(':instrumentation:java-concurrent') compileOnly group: 'com.typesafe.akka', name: 'akka-actor_2.11', version: '2.5.0' diff --git a/instrumentation/akka-context-propagation/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaExecutorInstrumentation.java b/instrumentation/akka-context-propagation-2.5/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaExecutorInstrumentation.java similarity index 100% rename from instrumentation/akka-context-propagation/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaExecutorInstrumentation.java rename to instrumentation/akka-context-propagation-2.5/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaExecutorInstrumentation.java diff --git a/instrumentation/akka-context-propagation/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaForkJoinTaskInstrumentation.java b/instrumentation/akka-context-propagation-2.5/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaForkJoinTaskInstrumentation.java similarity index 100% rename from instrumentation/akka-context-propagation/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaForkJoinTaskInstrumentation.java rename to instrumentation/akka-context-propagation-2.5/src/main/java/io/opentelemetry/instrumentation/auto/akkaconcurrent/AkkaForkJoinTaskInstrumentation.java diff --git a/instrumentation/akka-context-propagation/src/test/groovy/AkkaActorTest.groovy b/instrumentation/akka-context-propagation-2.5/src/test/groovy/AkkaActorTest.groovy similarity index 100% rename from instrumentation/akka-context-propagation/src/test/groovy/AkkaActorTest.groovy rename to instrumentation/akka-context-propagation-2.5/src/test/groovy/AkkaActorTest.groovy diff --git a/instrumentation/akka-context-propagation/src/test/groovy/AkkaExecutorInstrumentationTest.groovy b/instrumentation/akka-context-propagation-2.5/src/test/groovy/AkkaExecutorInstrumentationTest.groovy similarity index 100% rename from instrumentation/akka-context-propagation/src/test/groovy/AkkaExecutorInstrumentationTest.groovy rename to instrumentation/akka-context-propagation-2.5/src/test/groovy/AkkaExecutorInstrumentationTest.groovy diff --git a/instrumentation/akka-context-propagation/src/test/scala/AkkaActors.scala b/instrumentation/akka-context-propagation-2.5/src/test/scala/AkkaActors.scala similarity index 100% rename from instrumentation/akka-context-propagation/src/test/scala/AkkaActors.scala rename to instrumentation/akka-context-propagation-2.5/src/test/scala/AkkaActors.scala diff --git a/instrumentation/akka-context-propagation/src/test/scala/AkkaAsyncChild.java b/instrumentation/akka-context-propagation-2.5/src/test/scala/AkkaAsyncChild.java similarity index 100% rename from instrumentation/akka-context-propagation/src/test/scala/AkkaAsyncChild.java rename to instrumentation/akka-context-propagation-2.5/src/test/scala/AkkaAsyncChild.java diff --git a/settings.gradle b/settings.gradle index 341e26e86c3..152f6b1d841 100644 --- a/settings.gradle +++ b/settings.gradle @@ -50,7 +50,7 @@ include ':utils:test-utils' include ':smoke-tests' // instrumentation: -include ':instrumentation:akka-context-propagation' +include ':instrumentation:akka-context-propagation-2.5' include ':instrumentation:akka-http-10.0' include ':instrumentation:apache-httpasyncclient-4.0' include ':instrumentation:apache-httpclient:apache-httpclient-2.0'