build.gradle.kts 648 B

1234567891011121314151617181920212223242526
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("com.google.guava")
  7. module.set("guava")
  8. versions.set("[10.0,]")
  9. assertInverse.set(true)
  10. }
  11. }
  12. tasks.withType<Test>().configureEach {
  13. // TODO run tests both with and without experimental span attributes
  14. jvmArgs("-Dotel.instrumentation.guava.experimental-span-attributes=true")
  15. }
  16. dependencies {
  17. library("com.google.guava:guava:10.0")
  18. compileOnly(project(":instrumentation-api-annotation-support"))
  19. implementation(project(":instrumentation:guava-10.0:library"))
  20. testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
  21. }