Change compile & test versions to match muzzle blocks
MODIFY
dd-java-agent/instrumentation/mongo-3.1/mongo-3.1.gradle
dd-java-agent/instrumentation/mongo-3.1/mongo-3.1.gradle
@@ -18,7 +18,7 @@ testSets {
}
dependencies {
- compileOnly group: 'org.mongodb', name: 'mongo-java-driver', version: '3.4.2'
+ compileOnly group: 'org.mongodb', name: 'mongo-java-driver', version: '3.1.0'
compile project(':dd-java-agent:agent-tooling')
@@ -28,7 +28,7 @@ dependencies {
implementation deps.autoservice
testCompile project(':dd-trace-ot')
- testCompile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.4.2'
+ testCompile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.1.0'
}
configurations.latestDepTestCompile {

MODIFY
dd-java-agent/instrumentation/mongo-async-3.3/mongo-async-3.3.gradle
dd-java-agent/instrumentation/mongo-async-3.3/mongo-async-3.3.gradle
@@ -15,8 +15,8 @@ dependencies {
compile(project(':dd-java-agent:instrumentation:mongo-3.1')) {
transitive = false
}
- compileOnly group: 'org.mongodb', name: 'mongo-java-driver', version: '3.4.2'
- compileOnly group: 'org.mongodb', name: 'mongodb-driver-async', version: '3.4.2'
+ compileOnly group: 'org.mongodb', name: 'mongo-java-driver', version: '3.3.0'
+ compileOnly group: 'org.mongodb', name: 'mongodb-driver-async', version: '3.3.0'
compile project(':dd-java-agent:agent-tooling')

Change compile & test versions to match muzzle blocks