Remove some unnecessary dependencies
MODIFY
instrumentation/akka-http-10.0/akka-http-10.0.gradle
instrumentation/akka-http-10.0/akka-http-10.0.gradle
@@ -56,12 +56,6 @@ dependencies {
library group: 'com.typesafe.akka', name: 'akka-http_2.11', version: '10.0.0'
library group: 'com.typesafe.akka', name: 'akka-stream_2.11', version: '2.4.14'
- implementation project(':javaagent-tooling')
- implementation deps.autoservice
- annotationProcessor deps.autoservice
-
- testImplementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.6.0'
-
// There are some internal API changes in 10.1 that we would like to test separately for
version101TestImplementation group: 'com.typesafe.akka', name: 'akka-http_2.11', version: '10.1.0'
version101TestImplementation group: 'com.typesafe.akka', name: 'akka-stream_2.11', version: '2.5.11'

MODIFY
instrumentation/elasticsearch/elasticsearch-rest-common/elasticsearch-rest-common.gradle
instrumentation/elasticsearch/elasticsearch-rest-common/elasticsearch-rest-common.gradle
@@ -2,5 +2,4 @@ apply from: "$rootDir/gradle/instrumentation.gradle"
dependencies {
compileOnly group: 'org.elasticsearch.client', name: 'rest', version: '5.0.0'
- implementation project(':javaagent-tooling')
}

MODIFY
instrumentation/elasticsearch/elasticsearch-transport-common/elasticsearch-transport-common.gradle
instrumentation/elasticsearch/elasticsearch-transport-common/elasticsearch-transport-common.gradle
@@ -2,5 +2,4 @@ apply from: "$rootDir/gradle/instrumentation.gradle"
dependencies {
compileOnly group: 'org.elasticsearch', name: 'elasticsearch', version: '2.0.0'
- implementation project(':javaagent-tooling')
}

MODIFY
instrumentation/java-concurrent/java-concurrent.gradle
instrumentation/java-concurrent/java-concurrent.gradle
@@ -27,7 +27,6 @@ dependencies {
// This is needed for Scala ForJoinTask/Pool instrumentation
compileOnly deps.scala
- slickTestImplementation project(':instrumentation:java-concurrent')
slickTestImplementation project(':instrumentation:jdbc')
slickTestImplementation deps.scala
slickTestImplementation group: 'com.typesafe.slick', name: 'slick_2.11', version: '3.2.0'

MODIFY
instrumentation/java-concurrent/kotlin-testing/kotlin-testing.gradle
instrumentation/java-concurrent/kotlin-testing/kotlin-testing.gradle
@@ -5,6 +5,4 @@ apply from: "$rootDir/gradle/test-with-kotlin.gradle"
dependencies {
testImplementation deps.kotlin
testImplementation deps.coroutines
-
- testImplementation project(':instrumentation:java-concurrent')
}

MODIFY
instrumentation/java-concurrent/scala-testing/scala-testing.gradle
instrumentation/java-concurrent/scala-testing/scala-testing.gradle
@@ -6,6 +6,4 @@ dependencies {
compileOnly deps.scala
testImplementation deps.scala
-
- testImplementation project(':instrumentation:java-concurrent')
}

MODIFY
instrumentation/kubernetes-client-7.0/kubernetes-client-7.0.gradle
instrumentation/kubernetes-client-7.0/kubernetes-client-7.0.gradle
@@ -15,7 +15,5 @@ muzzle {
dependencies {
library(group: 'io.kubernetes', name: 'client-java-api', version: '7.0.0')
-
- implementation project(':javaagent-tooling')
}

MODIFY
instrumentation/okhttp/okhttp-2.2/okhttp-2.2.gradle
instrumentation/okhttp/okhttp-2.2/okhttp-2.2.gradle
@@ -16,10 +16,6 @@ muzzle {
dependencies {
library(group: 'com.squareup.okhttp', name: 'okhttp', version: '2.2.0')
- implementation project(':javaagent-tooling')
-
- testImplementation project(':instrumentation:java-concurrent')
-
latestDepTestLibrary group: 'com.squareup.okhttp', name: 'okhttp', version: '[2.6,3)'
}

MODIFY
instrumentation/okhttp/okhttp-3.0/okhttp-3.0.gradle
instrumentation/okhttp/okhttp-3.0/okhttp-3.0.gradle
@@ -21,8 +21,6 @@ not transitive.
dependencies {
library(group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.0.0')
- implementation project(':javaagent-tooling')
-
testImplementation(project(':testing-common')) {
exclude module: 'okhttp'
}

Remove some unnecessary dependencies (#1052)