25 lines
674 B
Groovy
25 lines
674 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "io.lettuce"
|
|
module = "lettuce-core"
|
|
versions = "[5.0.0.RELEASE,5.1.0.RELEASE)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "io.lettuce:lettuce-core:5.0.0.RELEASE"
|
|
|
|
implementation project(':instrumentation:lettuce:lettuce-common:library')
|
|
|
|
testImplementation "io.lettuce:lettuce-core:5.0.0.RELEASE"
|
|
testInstrumentation project(':instrumentation:reactor-3.1:javaagent')
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.lettuce.experimental-span-attributes=true"
|
|
}
|