File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
instrumentation/spring/spring-rabbit-1.0/javaagent Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ muzzle {
1212 }
1313}
1414
15+ val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
16+
1517dependencies {
1618 library(" org.springframework.amqp:spring-rabbit:1.0.0.RELEASE" )
1719
@@ -24,9 +26,9 @@ dependencies {
2426 // spring-retry is required by org.springframework.amqp:spring-rabbit:4.0.0
2527 testLibrary(" org.springframework.retry:spring-retry" )
2628
27- // tests don't work with spring boot 4 yet
28- latestDepTestLibrary (" org.springframework.boot:spring-boot-starter:3.+ " ) // documented limitation
29- latestDepTestLibrary( " org.springframework.boot:spring-boot-starter-test:3.+ " ) // documented limitation
29+ if (latestDepTest) {
30+ testLibrary (" org.springframework.boot:spring-boot-starter-amqp:latest.release " )
31+ }
3032}
3133
3234tasks {
@@ -36,8 +38,6 @@ tasks {
3638 }
3739}
3840
39- val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
40-
4141// spring 6 requires java 17
4242if (latestDepTest) {
4343 otelJava {
You can’t perform that action at this time.
0 commit comments