opentelemetry-java-instrume.../instrumentation/apache-dbcp-2.0/library/build.gradle.kts

24 lines
518 B
Plaintext

plugins {
id("otel.library-instrumentation")
id("otel.nullaway-conventions")
}
dependencies {
library("org.apache.commons:commons-dbcp2:2.0")
testImplementation(project(":instrumentation:apache-dbcp-2.0:testing"))
}
tasks {
val testStableSemconv by registering(Test::class) {
testClassesDirs = sourceSets.test.get().output.classesDirs
classpath = sourceSets.test.get().runtimeClasspath
jvmArgs("-Dotel.semconv-stability.opt-in=database")
}
check {
dependsOn(testStableSemconv)
}
}