plugins { id("otel.javaagent-instrumentation") } muzzle { pass { group.set("com.rabbitmq") module.set("amqp-client") versions.set("[2.7.0,)") assertInverse.set(true) } } dependencies { library("com.rabbitmq:amqp-client:2.7.0") testLibrary("org.springframework.amqp:spring-rabbit:1.1.0.RELEASE") { exclude("com.rabbitmq", "amqp-client") } testInstrumentation(project(":instrumentation:reactor-3.1:javaagent")) testLibrary("io.projectreactor.rabbitmq:reactor-rabbitmq:1.0.0.RELEASE") } tasks.withType().configureEach { // TODO run tests both with and without experimental span attributes jvmArgs("-Dotel.instrumentation.rabbitmq.experimental-span-attributes=true") usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) }