plugins { id("otel.library-instrumentation") } dependencies { library("org.springframework:spring-webflux:5.3.0") implementation(project(":instrumentation:reactor:reactor-3.1:library")) compileOnly("io.projectreactor.ipc:reactor-netty:0.7.0.RELEASE") testImplementation(project(":instrumentation:spring:spring-webflux:spring-webflux-5.3:testing")) testLibrary("org.springframework.boot:spring-boot-starter-webflux:2.4.0") testLibrary("org.springframework.boot:spring-boot-starter-test:2.4.0") testLibrary("org.springframework.boot:spring-boot-starter-reactor-netty:2.4.0") } val latestDepTest = findProperty("testLatestDeps") as Boolean // spring 6 (which spring-kafka 3.+ uses) requires java 17 if (latestDepTest) { otelJava { minJavaVersionSupported.set(JavaVersion.VERSION_17) } } if (!latestDepTest) { // Spring Boot 2.x requires StaticLoggerBinder which is removed in logback-classic 1.3 configurations.testRuntimeClasspath { resolutionStrategy { force("ch.qos.logback:logback-classic:1.2.3") } } }