19 lines
554 B
Plaintext
19 lines
554 B
Plaintext
plugins {
|
|
id("otel.library-instrumentation")
|
|
}
|
|
|
|
dependencies {
|
|
library("io.reactivex.rxjava2:rxjava:2.1.3")
|
|
implementation(project(":instrumentation-api-annotation-support"))
|
|
|
|
testImplementation(project(":instrumentation:rxjava:rxjava-2.0:testing"))
|
|
}
|
|
|
|
tasks.withType<Test>().configureEach {
|
|
// required on jdk17, uses spock Mock that needs access to jdk internals
|
|
jvmArgs("--add-opens=java.base/java.lang.invoke=ALL-UNNAMED")
|
|
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
|
|
|
|
jvmArgs("-Dio.opentelemetry.context.enableStrictContext=false")
|
|
}
|