opentelemetry-java-instrume.../instrumentation/rxjava/rxjava-3.0/javaagent/rxjava-3.0-javaagent.gradle

25 lines
661 B
Groovy

apply from: "$rootDir/gradle/instrumentation.gradle"
muzzle {
pass {
group = "io.reactivex.rxjava3"
module = "rxjava"
versions = "[3.0.0,)"
assertInverse = true
}
}
tasks.withType(Test).configureEach {
// TODO run tests both with and without experimental span attributes
jvmArgs "-Dotel.instrumentation.rxjava.experimental-span-attributes=true"
}
dependencies {
library "io.reactivex.rxjava3:rxjava:3.0.0"
implementation project(":instrumentation:rxjava:rxjava-3.0:library")
testImplementation "io.opentelemetry:opentelemetry-extension-annotations"
testImplementation project(':instrumentation:rxjava:rxjava-3.0:testing')
}