Limit RxJava3 muzzle check version range (#4022)

This commit is contained in:
Mateusz Rzeszutek 2021-08-30 13:01:48 +02:00 committed by GitHub
parent dbf66c5648
commit 1363e0c093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -6,16 +6,11 @@ muzzle {
pass {
group.set("io.reactivex.rxjava3")
module.set("rxjava")
versions.set("[3.0.0,)")
versions.set("[3.0.0,3.1.0]")
assertInverse.set(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")
compileOnly(project(":instrumentation-api-annotation-support"))
@ -27,5 +22,8 @@ dependencies {
}
tasks.withType<Test>().configureEach {
// TODO run tests both with and without experimental span attributes
jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
jvmArgs("-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false")
}