build.gradle.kts 574 B

12345678910111213141516171819202122232425262728
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. fail {
  6. group.set("commons-httpclient")
  7. module.set("commons-httpclient")
  8. versions.set("[,4.0)")
  9. }
  10. pass {
  11. group.set("org.apache.httpcomponents")
  12. module.set("httpclient")
  13. versions.set("[4.0,)")
  14. assertInverse.set(true)
  15. }
  16. pass {
  17. // We want to support the dropwizard clients too.
  18. group.set("io.dropwizard")
  19. module.set("dropwizard-client")
  20. versions.set("(,)")
  21. assertInverse.set(true)
  22. }
  23. }
  24. dependencies {
  25. library("org.apache.httpcomponents:httpclient:4.0")
  26. }