26 lines
806 B
Groovy
26 lines
806 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 group: 'io.lettuce', name: 'lettuce-core', version: '5.0.0.RELEASE'
|
|
|
|
implementation project(':instrumentation:lettuce:lettuce-common:javaagent')
|
|
|
|
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
|
|
testImplementation group: 'io.lettuce', name: 'lettuce-core', version: '5.0.0.RELEASE'
|
|
testInstrumentation project(':instrumentation:reactor-3.1:javaagent')
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.lettuce.experimental-span-attributes=true"
|
|
}
|