30 lines
701 B
Plaintext
30 lines
701 B
Plaintext
plugins {
|
|
id("otel.javaagent-instrumentation")
|
|
}
|
|
|
|
muzzle {
|
|
pass {
|
|
group.set("org.springframework")
|
|
module.set("spring-web")
|
|
versions.set("[6.0.0,)")
|
|
// these versions depend on javax.faces:jsf-api:1.1 which was released as pom only
|
|
skip("1.2.1", "1.2.2", "1.2.3", "1.2.4")
|
|
assertInverse.set(true)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library("org.springframework:spring-web:6.0.0")
|
|
|
|
testInstrumentation(project(":instrumentation:http-url-connection:javaagent"))
|
|
}
|
|
|
|
// spring 6 requires java 17
|
|
otelJava {
|
|
minJavaVersionSupported.set(JavaVersion.VERSION_17)
|
|
}
|
|
|
|
tasks.withType<Test>().configureEach {
|
|
jvmArgs("-Dotel.instrumentation.http.client.emit-experimental-telemetry=true")
|
|
}
|