Skip to content

Commit 3746155

Browse files
committed
Align Nimbus dependency versions with Spring Security
Closes gh-26820
1 parent 363de4c commit 3746155

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,14 +1196,20 @@ bom {
11961196
]
11971197
}
11981198
}
1199-
library("OAuth2 OIDC SDK", "8.36.2") {
1199+
library("OAuth2 OIDC SDK") {
1200+
version("8.36.1") {
1201+
shouldAlignWithVersionFrom("Spring Security")
1202+
}
12001203
group("com.nimbusds") {
12011204
modules = [
12021205
"oauth2-oidc-sdk"
12031206
]
12041207
}
12051208
}
1206-
library("Nimbus JOSE JWT", "8.20.2") {
1209+
library("Nimbus JOSE JWT") {
1210+
version("8.20.2") {
1211+
shouldAlignWithVersionFrom("Spring Security")
1212+
}
12071213
group("com.nimbusds") {
12081214
modules = [
12091215
"nimbus-jose-jwt"
@@ -1630,6 +1636,11 @@ bom {
16301636
"spring-security-bom"
16311637
]
16321638
}
1639+
dependencyVersions {
1640+
extractFrom {
1641+
dependencyLock("https://raw.githubusercontent.com/spring-projects/spring-security/<libraryVersion>/config/gradle/dependency-locks/optional.lockfile")
1642+
}
1643+
}
16331644
}
16341645
library("Spring Session Bom", "2020.0.5") {
16351646
group("org.springframework.session") {

0 commit comments

Comments
 (0)