build.gradle.kts 976 B

123456789101112131415161718192021222324252627282930313233
  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. skip("32.1.0-android")
  10. assertInverse.set(true)
  11. }
  12. }
  13. tasks.withType<Test>().configureEach {
  14. // TODO run tests both with and without experimental span attributes
  15. jvmArgs("-Dotel.instrumentation.guava.experimental-span-attributes=true")
  16. }
  17. dependencies {
  18. bootstrap(project(":instrumentation:executors:bootstrap"))
  19. library("com.google.guava:guava:10.0")
  20. compileOnly(project(":instrumentation-annotations-support"))
  21. implementation(project(":instrumentation:guava-10.0:library"))
  22. testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
  23. testImplementation(project(":instrumentation-annotations-support-testing"))
  24. testImplementation(project(":instrumentation-annotations"))
  25. testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
  26. }