26 lines
610 B
Groovy
26 lines
610 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "com.rabbitmq"
|
|
module = 'amqp-client'
|
|
versions = "[2.7.0,)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library "com.rabbitmq:amqp-client:2.7.0"
|
|
|
|
testLibrary ("org.springframework.amqp:spring-rabbit:1.1.0.RELEASE") {
|
|
exclude group: 'com.rabbitmq', module: 'amqp-client'
|
|
}
|
|
|
|
testImplementation deps.testcontainers
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.rabbitmq.experimental-span-attributes=true"
|
|
}
|