File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
instrumentation/spring/spring-pulsar-1.2/javaagent Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 66 pass {
77 group.set(" org.springframework.pulsar" )
88 module.set(" spring-pulsar" )
9- versions.set(" [1.2.0,] " )
9+ versions.set(" [1.2.0,) " )
1010 }
1111}
1212
@@ -23,14 +23,23 @@ dependencies {
2323 testLibrary(" org.springframework.boot:spring-boot-starter:3.2.4" )
2424}
2525
26+ val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
27+
2628testing {
2729 suites {
2830 val testReceiveSpansDisabled by registering(JvmTestSuite ::class ) {
2931 dependencies {
3032 implementation(project(" :instrumentation:spring:spring-pulsar-1.2:testing" ))
31- implementation(" org.springframework.pulsar:spring-pulsar:1.2.0" )
32- implementation(" org.springframework.boot:spring-boot-starter-test:3.2.4" )
33- implementation(" org.springframework.boot:spring-boot-starter:3.2.4" )
33+
34+ if (latestDepTest) {
35+ implementation(" org.springframework.pulsar:spring-pulsar:latest.release" )
36+ implementation(" org.springframework.boot:spring-boot-starter-test:latest.release" )
37+ implementation(" org.springframework.boot:spring-boot-starter:latest.release" )
38+ } else {
39+ implementation(" org.springframework.pulsar:spring-pulsar:1.2.0" )
40+ implementation(" org.springframework.boot:spring-boot-starter-test:3.2.4" )
41+ implementation(" org.springframework.boot:spring-boot-starter:3.2.4" )
42+ }
3443 }
3544
3645 targets {
You can’t perform that action at this time.
0 commit comments