opentelemetry-java-instrume.../instrumentation/guava-10.0/javaagent/build.gradle.kts

34 lines
976 B
Plaintext

plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("com.google.guava")
module.set("guava")
versions.set("[10.0,]")
skip("32.1.0-android")
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 {
bootstrap(project(":instrumentation:executors:bootstrap"))
library("com.google.guava:guava:10.0")
compileOnly(project(":instrumentation-annotations-support"))
implementation(project(":instrumentation:guava-10.0:library"))
testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
testImplementation(project(":instrumentation-annotations-support-testing"))
testImplementation(project(":instrumentation-annotations"))
testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
}