opentelemetry-java-instrume.../instrumentation/apache-dubbo-2.7/library-autoconfigure/build.gradle.kts

23 lines
719 B
Plaintext

plugins {
id("otel.library-instrumentation")
}
dependencies {
compileOnly("com.google.auto.value:auto-value-annotations")
annotationProcessor("com.google.auto.value:auto-value")
library("org.apache.dubbo:dubbo:2.7.0")
testImplementation(project(":instrumentation:apache-dubbo-2.7:testing"))
testLibrary("org.apache.dubbo:dubbo-config-api:2.7.0")
latestDepTestLibrary("org.apache.dubbo:dubbo:2.+") // documented limitation
latestDepTestLibrary("org.apache.dubbo:dubbo-config-api:2.+") // documented limitation
}
tasks.withType<Test>().configureEach {
// to suppress non-fatal errors on jdk17
jvmArgs("--add-opens=java.base/java.math=ALL-UNNAMED")
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
}