build.gradle.kts 503 B

1234567891011121314151617181920212223
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("commons-httpclient")
  7. module.set("commons-httpclient")
  8. versions.set("[2.0,4.0)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("commons-httpclient:commons-httpclient:2.0")
  14. latestDepTestLibrary("commons-httpclient:commons-httpclient:3.+") // see apache-httpclient-4.0 module
  15. }
  16. tasks {
  17. withType<Test>().configureEach {
  18. systemProperty("testLatestDeps", findProperty("testLatestDeps"))
  19. }
  20. }