build.gradle.kts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.vertx")
  7. module.set("vertx-core")
  8. versions.set("[3.0.0,4.0.0)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("io.vertx:vertx-core:3.0.0")
  14. compileOnly("com.google.auto.value:auto-value-annotations")
  15. annotationProcessor("com.google.auto.value:auto-value")
  16. implementation(project(":instrumentation:vertx:vertx-http-client:vertx-http-client-common:javaagent"))
  17. // We need both version as different versions of Vert.x use different versions of Netty
  18. testInstrumentation(project(":instrumentation:netty:netty-4.0:javaagent"))
  19. testInstrumentation(project(":instrumentation:netty:netty-4.1:javaagent"))
  20. // Vert.x 4.0 is incompatible with our tests.
  21. // 3.9.7 Requires Netty 4.1.60, no other version works with it.
  22. latestDepTestLibrary(enforcedPlatform("io.netty:netty-bom:4.1.60.Final"))
  23. latestDepTestLibrary("io.vertx:vertx-core:3.+")
  24. }
  25. tasks {
  26. test {
  27. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  28. }
  29. }