12345678910111213141516171819202122232425262728293031 |
- plugins {
- id("otel.javaagent-instrumentation")
- }
- muzzle {
- pass {
- group.set("io.projectreactor")
- module.set("reactor-core")
- versions.set("[3.1.0.RELEASE,)")
- assertInverse.set(true)
- }
- }
- tasks.withType<Test>().configureEach {
- // TODO run tests both with and without experimental span attributes
- jvmArgs("-Dotel.instrumentation.reactor.experimental-span-attributes=true")
- }
- dependencies {
- implementation(project(":instrumentation:reactor-3.1:library"))
- compileOnly(project(":instrumentation-api-annotation-support"))
- testLibrary("io.projectreactor:reactor-core:3.1.0.RELEASE")
- testLibrary("io.projectreactor:reactor-test:3.1.0.RELEASE")
- testImplementation(project(":instrumentation:reactor-3.1:testing"))
- testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
- // Looks like later versions on reactor need this dependency for some reason even though it is marked as optional.
- latestDepTestLibrary("io.micrometer:micrometer-core:1.+")
- }
|