Skip to content

Commit 7aff168

Browse files
committed
Simplify dependencies used to build and test confluent-schema-registry instrumentation
Also add latestDepTest to test this instrumentation against the latest version
1 parent 2b04c87 commit 7aff168

File tree

1 file changed

+5
-9
lines changed
  • dd-java-agent/instrumentation/confluent-schema-registry/confluent-schema-registry-4.1

1 file changed

+5
-9
lines changed

dd-java-agent/instrumentation/confluent-schema-registry/confluent-schema-registry-4.1/build.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@ muzzle {
1111
}
1212
}
1313

14+
addTestSuiteForDir('latestDepTest', 'test')
15+
1416
dependencies {
1517
implementation project(':dd-java-agent:instrumentation:kafka:kafka-common')
1618
compileOnly group: 'io.confluent', name: 'kafka-schema-registry-client', version: '4.1.0'
17-
compileOnly group: 'io.confluent', name: 'kafka-avro-serializer', version: '4.1.0'
18-
compileOnly group: 'io.confluent', name: 'kafka-protobuf-serializer', version: '4.1.0'
19-
compileOnly group: 'org.apache.kafka', name: 'kafka-clients', version: '3.0.0'
2019

21-
testImplementation project(':dd-java-agent:instrumentation:kafka:kafka-common')
22-
testImplementation group: 'io.confluent', name: 'kafka-schema-registry-client', version: '7.5.2'
23-
testImplementation group: 'io.confluent', name: 'kafka-avro-serializer', version: '7.5.2'
24-
testImplementation group: 'io.confluent', name: 'kafka-protobuf-serializer', version: '7.5.1'
25-
testImplementation group: 'org.apache.kafka', name: 'kafka-clients', version: '3.5.0'
26-
testImplementation group: 'org.apache.avro', name: 'avro', version: '1.11.0'
20+
testImplementation group: 'io.confluent', name: 'kafka-avro-serializer', version: '4.1.0'
21+
22+
latestDepTestImplementation group: 'io.confluent', name: 'kafka-avro-serializer', version: '+'
2723
}
2824

0 commit comments

Comments
 (0)