25 lines
627 B
Groovy
25 lines
627 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "biz.paluch.redis"
|
|
module = "lettuce"
|
|
versions = "[4.0.Final,)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
|
|
dependencies {
|
|
library group: 'biz.paluch.redis', name: 'lettuce', version: '4.0.Final'
|
|
|
|
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
|
|
|
|
latestDepTestLibrary group: 'biz.paluch.redis', name: 'lettuce', version: '4.+'
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.lettuce.experimental-span-attributes=true"
|
|
}
|