build.gradle.kts 703 B

12345678910111213141516171819202122232425
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("biz.paluch.redis")
  7. module.set("lettuce")
  8. versions.set("[4.0.Final,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("biz.paluch.redis:lettuce:4.0.Final")
  14. latestDepTestLibrary("biz.paluch.redis:lettuce:4.+") // see lettuce-5.0 module
  15. }
  16. tasks.withType<Test>().configureEach {
  17. // TODO run tests both with and without experimental span attributes
  18. jvmArgs("-Dotel.instrumentation.lettuce.experimental-span-attributes=true")
  19. jvmArgs("-Dotel.instrumentation.lettuce.connection-telemetry.enabled=true")
  20. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
  21. }