opentelemetry-java-instrume.../instrumentation/spring/spring-rmi-4.0/javaagent/build.gradle.kts

40 lines
1.1 KiB
Plaintext

plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("org.springframework")
module.set("spring-context")
versions.set("[4.0.0.RELEASE,6)")
}
}
dependencies {
compileOnly("com.google.auto.value:auto-value-annotations")
annotationProcessor("com.google.auto.value:auto-value")
bootstrap(project(":instrumentation:rmi:bootstrap"))
testInstrumentation(project(":instrumentation:rmi:javaagent"))
library("org.springframework:spring-context:4.0.0.RELEASE")
library("org.springframework:spring-aop:4.0.0.RELEASE")
testLibrary("org.springframework.boot:spring-boot:1.1.0.RELEASE")
latestDepTestLibrary("org.springframework:spring-context:5.+")
latestDepTestLibrary("org.springframework:spring-aop:5.+")
latestDepTestLibrary("org.springframework.boot:spring-boot:2.+")
}
tasks.withType<Test>().configureEach {
jvmArgs("-Djava.rmi.server.hostname=127.0.0.1")
}
configurations.testRuntimeClasspath {
resolutionStrategy {
// requires old logback (and therefore also old slf4j)
force("ch.qos.logback:logback-classic:1.2.11")
force("org.slf4j:slf4j-api:1.7.36")
}
}