File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 2121 java-version : ${{ matrix.jdk }}
2222 distribution : temurin
2323 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
2435 deploy-artifacts :
2536 name : Deploy Artifacts
2637 needs : [ build ]
Original file line number Diff line number Diff line change @@ -14,8 +14,15 @@ repositories {
1414ext. queryDslVersion = ' 5.0.0'
1515
1616dependencies {
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+ }
1926 api platform(' com.fasterxml.jackson:jackson-bom:2.15.4' )
2027 api platform(" org.junit:junit-bom:5.8.2" )
2128 constraints {
You can’t perform that action at this time.
0 commit comments