WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit ad97c35

Browse files
authored
Simplify confluent-schema-registry dependencies (#10162)
* Simplify dependencies used to build and test confluent-schema-registry instrumentation Also add latestDepTest to test this instrumentation against the latest version * latestDepTest requires Java 11
1 parent d14435b commit ad97c35

File tree

1 file changed

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

1 file changed

+11
-9
lines changed

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

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

14+
addTestSuiteForDir('latestDepTest', 'test')
15+
16+
tasks.named("latestDepTest", Test) {
17+
testJvmConstraints {
18+
minJavaVersion = JavaVersion.VERSION_11
19+
}
20+
}
21+
1422
dependencies {
1523
implementation project(':dd-java-agent:instrumentation:kafka:kafka-common')
1624
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'
2025

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'
26+
testImplementation group: 'io.confluent', name: 'kafka-avro-serializer', version: '7.4.0'
27+
28+
latestDepTestImplementation group: 'io.confluent', name: 'kafka-avro-serializer', version: '+'
2729
}
2830

0 commit comments

Comments
 (0)