build.gradle.kts 587 B

123456789101112131415161718192021222324
  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. testImplementation("com.google.guava:guava")
  15. }
  16. tasks.withType<Test>().configureEach {
  17. // TODO run tests both with and without experimental span attributes
  18. jvmArgs("-Dotel.instrumentation.spymemcached.experimental-span-attributes=true")
  19. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
  20. }