build.gradle.kts 852 B

1234567891011121314151617181920212223242526272829
  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.1.1,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("io.reactivex.rxjava3:rxjava:3.1.1")
  14. compileOnly(project(":instrumentation-annotations-support"))
  15. implementation(project(":instrumentation:rxjava:rxjava-3.1.1:library"))
  16. testImplementation(project(":instrumentation:rxjava:rxjava-3-common:testing"))
  17. testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
  18. testInstrumentation(project(":instrumentation:rxjava:rxjava-3.0:javaagent"))
  19. }
  20. tasks.withType<Test>().configureEach {
  21. // TODO run tests both with and without experimental span attributes
  22. jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
  23. }