build.gradle.kts 731 B

12345678910111213141516171819202122232425262728293031
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("com.ning")
  7. module.set("async-http-client")
  8. versions.set("[1.9.0,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("com.ning:async-http-client:1.9.0")
  14. compileOnly("com.google.auto.value:auto-value-annotations")
  15. annotationProcessor("com.google.auto.value:auto-value")
  16. testInstrumentation(project(":instrumentation:netty:netty-3.8:javaagent"))
  17. }
  18. tasks {
  19. withType<Test>().configureEach {
  20. // required on jdk17
  21. jvmArgs("--add-exports=java.base/sun.security.util=ALL-UNNAMED")
  22. jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
  23. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  24. }
  25. }