Skip to content

Commit 0066322

Browse files
committed
feat: [FFM-12612]: Fix build to work with Java 25
1 parent 313989d commit 0066322

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ allprojects {
4242
resolutionStrategy {
4343
// version overrides for CVE fixes
4444
force 'org.apache.commons:commons-lang3:3.18.0' // CVE-2025-48924
45-
force "ch.qos.logback:logback-classic:1.3.15" // CVE-2024-12798, CVE-2024-12801
45+
force 'ch.qos.logback:logback-classic:1.3.15' // CVE-2024-12798, CVE-2024-12801
4646
force 'com.google.code.gson:gson:2.13.1' // CVE-2025-53864
47+
48+
// JDK 25 fix for spotless plugin
49+
force 'com.google.googlejavaformat:google-java-format:1.27.0'
4750
}
4851
}
4952

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencyResolutionManagement {
3838
// do not upgrade openapi, doing so will break compatibility with customers using SpringBoot 2.5.x
3939
// (newer 5.x.x generators use APIs not present in okhttp 3.14.9)
4040
version('openapi.generator', '4.3.1')
41-
version('spotless', '7.1.0')
41+
version('spotless', '7.2.1')
4242
version('depsize', '0.2.0')
4343
version('spotbugs', '6.2.3')
4444
version('depcheck', '12.1.3')

0 commit comments

Comments
 (0)