29 lines
647 B
Plaintext
29 lines
647 B
Plaintext
plugins {
|
|
id("otel.javaagent-instrumentation")
|
|
}
|
|
|
|
muzzle {
|
|
pass {
|
|
group.set("org.apache.httpcomponents")
|
|
module.set("httpasyncclient")
|
|
// 4.0 and 4.0.1 don't copy over the traceparent (etc) http headers on redirect
|
|
versions.set("[4.1,)")
|
|
// TODO implement a muzzle check so that 4.0.x (at least 4.0 and 4.0.1) do not get applied
|
|
// and then bring back assertInverse
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library("org.apache.httpcomponents:httpasyncclient:4.1")
|
|
}
|
|
|
|
tasks {
|
|
val testStableSemconv by registering(Test::class) {
|
|
jvmArgs("-Dotel.semconv-stability.opt-in=http")
|
|
}
|
|
|
|
check {
|
|
dependsOn(testStableSemconv)
|
|
}
|
|
}
|