build.gradle.kts 921 B

12345678910111213141516171819202122232425262728293031
  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:rxjava:rxjava-3.1.1:javaagent"))
  19. latestDepTestLibrary("io.reactivex.rxjava3:rxjava:3.1.0") // see rxjava-3.1.1 module
  20. }
  21. tasks.withType<Test>().configureEach {
  22. // TODO run tests both with and without experimental span attributes
  23. jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
  24. }