-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nikita-tkachenko/distributed-traces-in-test
- Loading branch information
Showing
6 changed files
with
604 additions
and
2 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
dd-java-agent/instrumentation/kafka-connect-0.11/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
muzzle { | ||
pass { | ||
group = "org.apache.kafka" | ||
module = "connect-runtime" | ||
versions = "[0.11.0.0,)" | ||
assertInverse = true | ||
} | ||
} | ||
|
||
apply from: "$rootDir/gradle/java.gradle" | ||
|
||
dependencies { | ||
compileOnly group: 'org.apache.kafka', name: 'connect-runtime', version: '0.11.0.0' | ||
|
||
testImplementation(testFixtures(project(':dd-java-agent:agent-iast'))) | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:java-lang') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:java-io') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:jackson-core') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:jackson-core:jackson-core-2.8') | ||
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10') | ||
testImplementation group: 'org.assertj', name: 'assertj-core', version: '2.9.+' | ||
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.19.0' | ||
testImplementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.3' | ||
testImplementation 'org.apache.kafka:connect-api:2.7.0' // Fixed version | ||
testImplementation 'org.apache.kafka:connect-runtime:2.7.0' | ||
testImplementation 'org.apache.kafka:connect-file:2.7.0' // For FileStreamSourceConnector | ||
testImplementation 'org.apache.kafka:kafka-clients:2.7.0' | ||
// Spring Kafka Test library | ||
testImplementation 'org.springframework.kafka:spring-kafka-test:2.7.9' // Version compatible with Kafka 2.7.x | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:kafka-clients-0.11') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:kafka-clients-3.8') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:kafka-streams-0.11') | ||
testRuntimeOnly project(':dd-java-agent:instrumentation:kafka-streams-1.0') | ||
} | ||
|
||
configurations.testRuntimeClasspath { | ||
// spock-core depends on assertj version that is not compatible with kafka-clients | ||
resolutionStrategy.force 'org.assertj:assertj-core:2.9.1' | ||
} |
Oops, something went wrong.