build.gradle.kts 905 B

123456789101112131415161718192021222324252627282930
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.reactivex.rxjava2")
  7. module.set("rxjava")
  8. versions.set("[2.0.6,)")
  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.rxjava.experimental-span-attributes=true")
  15. }
  16. dependencies {
  17. library("io.reactivex.rxjava2:rxjava:2.0.6")
  18. compileOnly(project(":instrumentation-annotations-support"))
  19. implementation(project(":instrumentation:rxjava:rxjava-2.0:library"))
  20. testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
  21. testImplementation(project(":instrumentation-annotations"))
  22. testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
  23. testImplementation(project(":instrumentation:rxjava:rxjava-2.0:testing"))
  24. }