build.gradle.kts 652 B

123456789101112131415161718192021
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. dependencies {
  5. library("org.apache.rocketmq:rocketmq-client:4.8.0")
  6. compileOnly("com.google.auto.value:auto-value-annotations")
  7. annotationProcessor("com.google.auto.value:auto-value")
  8. testLibrary("org.apache.rocketmq:rocketmq-test:4.8.0")
  9. testImplementation(project(":instrumentation:rocketmq:rocketmq-client:rocketmq-client-4.8:testing"))
  10. }
  11. tasks.withType<Test>().configureEach {
  12. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  13. // required on jdk17
  14. jvmArgs("--add-opens=java.base/sun.nio.ch=ALL-UNNAMED")
  15. jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
  16. }