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

40 lines
1009 B
Groovy

plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
// Version 2.7.5 and 2.7.8 were not released properly and muzzle cannot test against it causing failure.
// So we have to skip them resulting in this verbose setup.
pass {
group = 'com.couchbase.client'
module = 'java-client'
versions = "[2.0.0,2.7.5)"
}
pass {
group = 'com.couchbase.client'
module = 'java-client'
versions = "[2.7.6,2.7.8)"
}
pass {
group = 'com.couchbase.client'
module = 'java-client'
versions = "[2.7.9,3.0.0)"
}
fail {
group = 'com.couchbase.client'
module = 'couchbase-client'
versions = "(,)"
}
}
dependencies {
implementation project(':instrumentation:rxjava:rxjava-1.0:library')
library "com.couchbase.client:java-client:2.0.0"
testImplementation project(':instrumentation:couchbase:couchbase-testing')
latestDepTestLibrary "org.springframework.data:spring-data-couchbase:3.+"
latestDepTestLibrary "com.couchbase.client:java-client:2.+"
}