123456789101112131415161718192021222324252627282930313233343536373839404142 |
- plugins {
- id("otel.javaagent-instrumentation")
- }
- muzzle {
- pass {
- group.set("io.opentelemetry")
- module.set("opentelemetry-extension-annotations")
- versions.set("[0.16.0,)")
- skip("0.13.0")
- assertInverse.set(true)
- }
- }
- dependencies {
- compileOnly(project(":instrumentation-annotations-support"))
- compileOnly(project(":javaagent-tooling"))
-
-
-
-
- compileOnly(project(":opentelemetry-ext-annotations-shaded-for-instrumenting", configuration = "shadow"))
-
- compileOnly("com.google.code.findbugs:annotations")
- testCompileOnly("com.google.code.findbugs:annotations")
- testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
- testImplementation(project(":instrumentation-annotations-support"))
- testImplementation("net.bytebuddy:byte-buddy")
- }
- tasks {
- compileTestJava {
- options.compilerArgs.add("-parameters")
- }
- test {
- jvmArgs("-Dotel.instrumentation.opentelemetry-annotations.exclude-methods=io.opentelemetry.test.annotation.TracedWithSpan[ignored]")
- }
- }
|