24 lines
566 B
Plaintext
24 lines
566 B
Plaintext
plugins {
|
|
id("otel.library-instrumentation")
|
|
id("otel.nullaway-conventions")
|
|
id("otel.animalsniffer-conventions")
|
|
}
|
|
|
|
dependencies {
|
|
library("org.apache.httpcomponents:httpclient:4.3")
|
|
|
|
testImplementation(project(":instrumentation:apache-httpclient:apache-httpclient-4.3:testing"))
|
|
|
|
latestDepTestLibrary("org.apache.httpcomponents:httpclient:4.+") // see apache-httpclient-5.0 module
|
|
}
|
|
|
|
tasks {
|
|
val testStableSemconv by registering(Test::class) {
|
|
jvmArgs("-Dotel.semconv-stability.opt-in=http")
|
|
}
|
|
|
|
check {
|
|
dependsOn(testStableSemconv)
|
|
}
|
|
}
|