build.gradle.kts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. // Version 2.7.5 and 2.7.8 were not released properly and muzzle cannot test against it causing failure.
  6. // So we have to skip them resulting in this verbose setup.
  7. pass {
  8. group.set("com.couchbase.client")
  9. module.set("java-client")
  10. versions.set("[2.0.0,2.7.5)")
  11. }
  12. pass {
  13. group.set("com.couchbase.client")
  14. module.set("java-client")
  15. versions.set("[2.7.6,2.7.8)")
  16. }
  17. pass {
  18. group.set("com.couchbase.client")
  19. module.set("java-client")
  20. versions.set("[2.7.9,3.0.0)")
  21. }
  22. fail {
  23. group.set("com.couchbase.client")
  24. module.set("couchbase-client")
  25. versions.set("(,)")
  26. }
  27. }
  28. dependencies {
  29. compileOnly("com.google.auto.value:auto-value-annotations")
  30. annotationProcessor("com.google.auto.value:auto-value")
  31. implementation(project(":instrumentation:rxjava:rxjava-1.0:library"))
  32. library("com.couchbase.client:java-client:2.0.0")
  33. testImplementation(project(":instrumentation:couchbase:couchbase-testing"))
  34. latestDepTestLibrary("org.springframework.data:spring-data-couchbase:3.+")
  35. latestDepTestLibrary("com.couchbase.client:java-client:2.+")
  36. }