build.gradle.kts 703 B

123456789101112131415161718192021222324252627
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("net.spy")
  7. module.set("spymemcached")
  8. versions.set("[2.12.0,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("net.spy:spymemcached:2.12.0")
  14. compileOnly("com.google.auto.value:auto-value-annotations")
  15. annotationProcessor("com.google.auto.value:auto-value")
  16. testImplementation("com.google.guava:guava")
  17. }
  18. tasks.withType<Test>().configureEach {
  19. // TODO run tests both with and without experimental span attributes
  20. jvmArgs("-Dotel.instrumentation.spymemcached.experimental-span-attributes=true")
  21. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
  22. }