build.gradle.kts 1022 B

1234567891011121314151617181920212223242526272829303132
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.reactivex.rxjava3")
  7. module.set("rxjava")
  8. versions.set("[3.0.0,3.1.0]")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("io.reactivex.rxjava3:rxjava:3.0.0")
  14. compileOnly(project(":instrumentation-annotations-support"))
  15. implementation(project(":instrumentation:rxjava:rxjava-3.0:library"))
  16. testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
  17. testImplementation(project(":instrumentation:rxjava:rxjava-3-common:testing"))
  18. testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
  19. testInstrumentation(project(":instrumentation:rxjava:rxjava-3.1.1:javaagent"))
  20. latestDepTestLibrary("io.reactivex.rxjava3:rxjava:3.1.0") // see rxjava-3.1.1 module
  21. }
  22. tasks.withType<Test>().configureEach {
  23. // TODO run tests both with and without experimental span attributes
  24. jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
  25. }