build.gradle.kts 590 B

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