build.gradle.kts 969 B

1234567891011121314151617181920212223242526272829303132333435
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("redis.clients")
  7. module.set("jedis")
  8. versions.set("[3.0.0,4)")
  9. skip("jedis-3.6.2")
  10. assertInverse.set(true)
  11. }
  12. }
  13. dependencies {
  14. library("redis.clients:jedis:3.0.0")
  15. compileOnly("com.google.auto.value:auto-value-annotations")
  16. annotationProcessor("com.google.auto.value:auto-value")
  17. implementation(project(":instrumentation:jedis:jedis-common:javaagent"))
  18. // ensures jedis-1.4 instrumentation does not load with jedis 3.0+ by failing
  19. // the tests in the event it does. The tests will end up with double spans
  20. testInstrumentation(project(":instrumentation:jedis:jedis-1.4:javaagent"))
  21. testInstrumentation(project(":instrumentation:jedis:jedis-4.0:javaagent"))
  22. latestDepTestLibrary("redis.clients:jedis:3.+") // see jedis-4.0 module
  23. }
  24. tasks {
  25. test {
  26. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
  27. }
  28. }