123456789101112131415161718192021222324 |
- plugins {
- id("otel.library-instrumentation")
- }
- dependencies {
- library("org.apache.rocketmq:rocketmq-client:4.8.0")
- compileOnly("com.google.auto.value:auto-value-annotations")
- annotationProcessor("com.google.auto.value:auto-value")
- testLibrary("org.apache.rocketmq:rocketmq-test:4.8.0")
- testImplementation(project(":instrumentation:rocketmq:rocketmq-client:rocketmq-client-4.8:testing"))
- }
- tasks.withType<Test>().configureEach {
- systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
- // required on jdk17
- jvmArgs("--add-opens=java.base/sun.nio.ch=ALL-UNNAMED")
- jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
- jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
- // with default settings tests will fail when disk is 90% full
- jvmArgs("-Drocketmq.broker.diskSpaceWarningLevelRatio=1.0")
- }
|