27 lines
717 B
Groovy
27 lines
717 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
fail {
|
|
group = "redis.clients"
|
|
module = "jedis"
|
|
versions = "[,3.0.0)"
|
|
}
|
|
|
|
pass {
|
|
group = "redis.clients"
|
|
module = "jedis"
|
|
versions = "[3.0.0,)"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library group: 'redis.clients', name: 'jedis', version: '3.0.0'
|
|
|
|
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
|
|
// ensures jedis-1.4 instrumentation does not load with jedis 3.0+ by failing
|
|
// the tests in the event it does. The tests will end up with double spans
|
|
testInstrumentation project(':instrumentation:jedis:jedis-1.4:javaagent')
|
|
|
|
testLibrary group: 'redis.clients', name: 'jedis', version: '3.+'
|
|
}
|