Some testLatestDeps cleanup
MODIFY
instrumentation/couchbase/couchbase-2.6/javaagent/build.gradle.kts
instrumentation/couchbase/couchbase-2.6/javaagent/build.gradle.kts
@@ -29,7 +29,7 @@ dependencies {
testLibrary("org.springframework.data:spring-data-couchbase:3.1.0.RELEASE")
testLibrary("com.couchbase.client:encryption:1.0.0")
- latestDepTestLibrary("org.springframework.data:spring-data-couchbase:3.1+")
+ latestDepTestLibrary("org.springframework.data:spring-data-couchbase:3.1.+")
latestDepTestLibrary("com.couchbase.client:java-client:2.+")
}

MODIFY
instrumentation/couchbase/couchbase-3.1.6/javaagent/build.gradle.kts
instrumentation/couchbase/couchbase-3.1.6/javaagent/build.gradle.kts
@@ -31,14 +31,11 @@ dependencies {
)
)
- library("com.couchbase.client:core-io:2.1.6")
-
- testLibrary("com.couchbase.client:java-client:3.1.6")
+ library("com.couchbase.client:java-client:3.1.6")
testImplementation("org.testcontainers:couchbase")
- latestDepTestLibrary("com.couchbase.client:java-client:3.1.6")
- latestDepTestLibrary("com.couchbase.client:core-io:2.1.6")
+ latestDepTestLibrary("com.couchbase.client:java-client:3.1.+")
}
tasks {

MODIFY
instrumentation/couchbase/couchbase-3.1/javaagent/build.gradle.kts
instrumentation/couchbase/couchbase-3.1/javaagent/build.gradle.kts
@@ -31,14 +31,11 @@ dependencies {
)
)
- library("com.couchbase.client:core-io:2.1.0")
-
- testLibrary("com.couchbase.client:java-client:3.1.0")
+ library("com.couchbase.client:java-client:3.1.0")
testImplementation("org.testcontainers:couchbase")
latestDepTestLibrary("com.couchbase.client:java-client:3.1.5")
- latestDepTestLibrary("com.couchbase.client:core-io:2.1.5")
}
tasks {

MODIFY
instrumentation/couchbase/couchbase-3.2/javaagent/build.gradle.kts
instrumentation/couchbase/couchbase-3.2/javaagent/build.gradle.kts
@@ -31,9 +31,7 @@ dependencies {
)
)
- library("com.couchbase.client:core-io:2.1.6")
-
- testLibrary("com.couchbase.client:java-client:3.2.0")
+ library("com.couchbase.client:java-client:3.2.0")
testImplementation("org.testcontainers:couchbase")
}

MODIFY
instrumentation/log4j/log4j-context-data/log4j-context-data-2.7/javaagent/build.gradle.kts
instrumentation/log4j/log4j-context-data/log4j-context-data-2.7/javaagent/build.gradle.kts
@@ -18,5 +18,5 @@ dependencies {
testImplementation(project(":instrumentation:log4j:log4j-context-data:log4j-context-data-2-common:testing"))
- latestDepTestLibrary("org.apache.logging.log4j:log4j-core:2.15.0")
+ latestDepTestLibrary("org.apache.logging.log4j:log4j-core:2.15.+")
}

MODIFY
instrumentation/logback/logback-appender-1.0/javaagent/build.gradle.kts
instrumentation/logback/logback-appender-1.0/javaagent/build.gradle.kts
@@ -21,8 +21,6 @@ dependencies {
implementation(project(":instrumentation:logback:logback-appender-1.0:library"))
- latestDepTestLibrary("ch.qos.logback:logback-classic:1.2.+")
-
testImplementation("org.awaitility:awaitility")
}

MODIFY
instrumentation/rocketmq-client-4.8/javaagent/build.gradle.kts
instrumentation/rocketmq-client-4.8/javaagent/build.gradle.kts
@@ -13,8 +13,11 @@ muzzle {
dependencies {
library("org.apache.rocketmq:rocketmq-client:4.8.0")
+
implementation(project(":instrumentation:rocketmq-client-4.8:library"))
+
testImplementation(project(":instrumentation:rocketmq-client-4.8:testing"))
+
testLibrary("org.apache.rocketmq:rocketmq-test:4.8.0")
}

MODIFY
instrumentation/rocketmq-client-4.8/library/build.gradle.kts
instrumentation/rocketmq-client-4.8/library/build.gradle.kts
@@ -9,9 +9,6 @@ dependencies {
annotationProcessor("com.google.auto.value:auto-value")
testLibrary("org.apache.rocketmq:rocketmq-test:4.8.0")
- testImplementation(project(":instrumentation:rocketmq-client-4.8:testing"))
- // 4.9.1 seems to have a bug which makes on of our tests fail
- latestDepTestLibrary("org.apache.rocketmq:rocketmq-client:4.9.0")
- latestDepTestLibrary("org.apache.rocketmq:rocketmq-test:4.9.0")
+ testImplementation(project(":instrumentation:rocketmq-client-4.8:testing"))
}

Some testLatestDeps cleanup (#5226)