build.gradle.kts 551 B

123456789101112131415161718
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. dependencies {
  5. library("io.reactivex.rxjava2:rxjava:2.1.3")
  6. implementation(project(":instrumentation-annotations-support"))
  7. testImplementation(project(":instrumentation:rxjava:rxjava-2.0:testing"))
  8. }
  9. tasks.withType<Test>().configureEach {
  10. // required on jdk17, uses spock Mock that needs access to jdk internals
  11. jvmArgs("--add-opens=java.base/java.lang.invoke=ALL-UNNAMED")
  12. jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
  13. jvmArgs("-Dio.opentelemetry.context.enableStrictContext=false")
  14. }