build.gradle.kts 785 B

123456789101112131415161718192021222324252627
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.lettuce")
  7. module.set("lettuce-core")
  8. versions.set("[5.0.0.RELEASE,5.1.0.RELEASE)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. compileOnly("io.lettuce:lettuce-core:5.0.0.RELEASE")
  14. implementation(project(":instrumentation:lettuce:lettuce-common:library"))
  15. testImplementation("io.lettuce:lettuce-core:5.0.0.RELEASE")
  16. testInstrumentation(project(":instrumentation:reactor-3.1:javaagent"))
  17. }
  18. tasks.withType<Test>().configureEach {
  19. // TODO run tests both with and without experimental span attributes
  20. jvmArgs("-Dotel.instrumentation.lettuce.experimental-span-attributes=true")
  21. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
  22. }