File tree 1 file changed +13
-4
lines changed
instrumentation/spring/spring-pulsar-1.2/javaagent
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 6
6
pass {
7
7
group.set(" org.springframework.pulsar" )
8
8
module.set(" spring-pulsar" )
9
- versions.set(" [1.2.0,] " )
9
+ versions.set(" [1.2.0,) " )
10
10
}
11
11
}
12
12
@@ -23,14 +23,23 @@ dependencies {
23
23
testLibrary(" org.springframework.boot:spring-boot-starter:3.2.4" )
24
24
}
25
25
26
+ val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
27
+
26
28
testing {
27
29
suites {
28
30
val testReceiveSpansDisabled by registering(JvmTestSuite ::class ) {
29
31
dependencies {
30
32
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
+ }
34
43
}
35
44
36
45
targets {
You can’t perform that action at this time.
0 commit comments