File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 21
21
java-version : ${{ matrix.jdk }}
22
22
distribution : temurin
23
23
secrets : inherit
24
+ test :
25
+ name : Test Against Snapshots
26
+ uses : spring-io/spring-security-release-tools/.github/workflows/test.yml@v1
27
+ strategy :
28
+ matrix :
29
+ include :
30
+ - java-version : 21-ea
31
+ - java-version : 17
32
+ with :
33
+ java-version : ${{ matrix.java-version }}
34
+ test-args : --refresh-dependencies -PforceMavenRepositories=snapshot -PisOverrideVersionCatalog -PtestToolchain=17 -PspringFrameworkVersion=6.2.+ -PspringDataVersion=2024.0.+ --stacktrace
24
35
deploy-artifacts :
25
36
name : Deploy Artifacts
26
37
needs : [ build ]
Original file line number Diff line number Diff line change @@ -14,8 +14,15 @@ repositories {
14
14
ext. queryDslVersion = ' 5.0.0'
15
15
16
16
dependencies {
17
- api platform(" org.springframework:spring-framework-bom:6.1.13" )
18
- api platform(" org.springframework.data:spring-data-bom:2021.2.18" )
17
+ if (project. hasProperty(" isOverrideVersionCatalog" )) {
18
+ def springFrameworkVersion = project. property(" springFrameworkVersion" )
19
+ def springDataVersion = project. property(" springDataVersion" )
20
+ api platform(" org.springframework:spring-framework-bom:$springFrameworkVersion " )
21
+ api platform(" org.springframework.data:spring-data-bom:$springDataVersion " )
22
+ } else {
23
+ api platform(" org.springframework:spring-framework-bom:6.1.13" )
24
+ api platform(" org.springframework.data:spring-data-bom:2021.2.18" )
25
+ }
19
26
api platform(' com.fasterxml.jackson:jackson-bom:2.15.4' )
20
27
api platform(" org.junit:junit-bom:5.8.2" )
21
28
constraints {
You can’t perform that action at this time.
0 commit comments