build.gradle.kts 771 B

12345678910111213141516171819202122232425262728293031
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("redis.clients")
  7. module.set("jedis")
  8. versions.set("[1.4.0,3.0.0)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("redis.clients:jedis:1.4.0")
  14. compileOnly("com.google.auto.value:auto-value-annotations")
  15. annotationProcessor("com.google.auto.value:auto-value")
  16. testInstrumentation(project(":instrumentation:jedis:jedis-3.0:javaagent"))
  17. testInstrumentation(project(":instrumentation:jedis:jedis-4.0:javaagent"))
  18. // Jedis 3.0 has API changes that prevent instrumentation from applying
  19. latestDepTestLibrary("redis.clients:jedis:2.+")
  20. }
  21. tasks {
  22. test {
  23. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
  24. }
  25. }