27 lines
648 B
Plaintext
27 lines
648 B
Plaintext
plugins {
|
|
id("otel.javaagent-instrumentation")
|
|
}
|
|
|
|
muzzle {
|
|
pass {
|
|
group.set("com.google.guava")
|
|
module.set("guava")
|
|
versions.set("[10.0,]")
|
|
assertInverse.set(true)
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test>().configureEach {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs("-Dotel.instrumentation.guava.experimental-span-attributes=true")
|
|
}
|
|
|
|
dependencies {
|
|
library("com.google.guava:guava:10.0")
|
|
compileOnly(project(":instrumentation-api-annotation-support"))
|
|
|
|
implementation(project(":instrumentation:guava-10.0:library"))
|
|
|
|
testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
|
|
}
|