opentelemetry-java-instrume.../instrumentation/spymemcached-2.12/javaagent/build.gradle.kts

25 lines
587 B
Plaintext

plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("net.spy")
module.set("spymemcached")
versions.set("[2.12.0,)")
assertInverse.set(true)
}
}
dependencies {
library("net.spy:spymemcached:2.12.0")
testImplementation("com.google.guava:guava")
}
tasks.withType<Test>().configureEach {
// TODO run tests both with and without experimental span attributes
jvmArgs("-Dotel.instrumentation.spymemcached.experimental-span-attributes=true")
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
}