opentelemetry-java-instrume.../instrumentation/couchbase/couchbase-2.6/javaagent/couchbase-2.6-javaagent.gradle

38 lines
1.3 KiB
Groovy

apply from: "$rootDir/gradle/instrumentation.gradle"
muzzle {
pass {
group = 'com.couchbase.client'
module = 'java-client'
versions = "[2.6.0,3)"
// these versions were released as ".bundle" instead of ".jar"
skipVersions += ['2.7.5', '2.7.8']
assertInverse = true
}
fail {
group = 'com.couchbase.client'
module = 'couchbase-client'
versions = "(,)"
}
}
dependencies {
implementation project(':instrumentation:rxjava:rxjava-1.0:library')
library group: 'com.couchbase.client', name: 'java-client', version: '2.6.0'
testInstrumentation project(':instrumentation:couchbase:couchbase-2.0:javaagent')
testImplementation project(':instrumentation:couchbase:couchbase-testing')
testLibrary group: 'org.springframework.data', name: 'spring-data-couchbase', version: '3.1.0.RELEASE'
testLibrary group: 'com.couchbase.client', name: 'encryption', version: '1.0.0'
latestDepTestLibrary group: 'org.springframework.data', name: 'spring-data-couchbase', version: '3.1+'
latestDepTestLibrary group: 'com.couchbase.client', name: 'java-client', version: '2.+'
}
tasks.withType(Test) {
// TODO run tests both with and without experimental span attributes
jvmArgs "-Dotel.instrumentation.couchbase.experimental-span-attributes=true"
}