build.gradle.kts 999 B

12345678910111213141516171819202122232425262728293031
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.projectreactor")
  7. module.set("reactor-core")
  8. versions.set("[3.1.0.RELEASE,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. tasks.withType<Test>().configureEach {
  13. // TODO run tests both with and without experimental span attributes
  14. jvmArgs("-Dotel.instrumentation.reactor.experimental-span-attributes=true")
  15. }
  16. dependencies {
  17. implementation(project(":instrumentation:reactor-3.1:library"))
  18. compileOnly(project(":instrumentation-api-annotation-support"))
  19. testLibrary("io.projectreactor:reactor-core:3.1.0.RELEASE")
  20. testLibrary("io.projectreactor:reactor-test:3.1.0.RELEASE")
  21. testImplementation(project(":instrumentation:reactor-3.1:testing"))
  22. testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
  23. // Looks like later versions on reactor need this dependency for some reason even though it is marked as optional.
  24. latestDepTestLibrary("io.micrometer:micrometer-core:1.+")
  25. }