build.gradle.kts 795 B

1234567891011121314151617181920212223242526272829
  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. bootstrap(project(":instrumentation:executors:bootstrap"))
  18. library("com.google.guava:guava:10.0")
  19. compileOnly(project(":instrumentation-annotations-support"))
  20. implementation(project(":instrumentation:guava-10.0:library"))
  21. testImplementation(project(":instrumentation:opentelemetry-annotations-1.0:testing"))
  22. testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
  23. }