File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
instrumentation/spring/spring-kafka-2.7/javaagent Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,7 @@ dependencies {
3030
3131 testLibrary(" org.springframework.boot:spring-boot-starter-test:2.5.3" )
3232 testLibrary(" org.springframework.boot:spring-boot-starter:2.5.3" )
33-
34- // tests don't work with spring boot 4 yet
35- latestDepTestLibrary(" org.springframework.boot:spring-boot-starter-test:3.+" ) // documented limitation
36- latestDepTestLibrary(" org.springframework.boot:spring-boot-starter:3.+" ) // documented limitation
33+ latestDepTestLibrary(" org.springframework.boot:spring-boot-starter-kafka:latest.release" )
3734}
3835
3936val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
@@ -47,10 +44,14 @@ testing {
4744
4845 // the "library" configuration is not recognized by the test suite plugin
4946 val springKafkaVersion = if (latestDepTest) " latest.release" else " 2.7.0"
50- val springBootVersion = if (latestDepTest) " 3.+ " else " 2.5.3"
47+ val springBootVersion = if (latestDepTest) " latest.release " else " 2.5.3"
5148 implementation(" org.springframework.kafka:spring-kafka:$springKafkaVersion " )
5249 implementation(" org.springframework.boot:spring-boot-starter-test:$springBootVersion " )
5350 implementation(" org.springframework.boot:spring-boot-starter:$springBootVersion " )
51+
52+ if (latestDepTest) {
53+ implementation(" org.springframework.boot:spring-boot-starter-kafka:latest.release" )
54+ }
5455 }
5556
5657 targets {
You can’t perform that action at this time.
0 commit comments