opentelemetry-java-instrume.../instrumentation/okhttp/okhttp-3.0/library/build.gradle.kts

22 lines
433 B
Plaintext

plugins {
id("otel.library-instrumentation")
id("otel.nullaway-conventions")
id("otel.animalsniffer-conventions")
}
dependencies {
library("com.squareup.okhttp3:okhttp:3.0.0")
testImplementation(project(":instrumentation:okhttp:okhttp-3.0:testing"))
}
tasks {
val testStableSemconv by registering(Test::class) {
jvmArgs("-Dotel.semconv-stability.opt-in=http")
}
check {
dependsOn(testStableSemconv)
}
}