Skip to content

Commit 4210d9b

Browse files
committed
Also add constraints for security alerts
1 parent c80889d commit 4210d9b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ subprojects {
6666
annotationProcessor(libs.lombok)
6767
testCompileOnly(libs.lombok)
6868
testAnnotationProcessor(libs.lombok)
69+
70+
// Security constraintsAdd commentMore actions
71+
constraints {
72+
implementation("org.springframework:spring-web:6.2.8") {
73+
because("versions below 6.2.8 have security vulnerabilities including CVE-2024-38820 - see dependabot #12")
74+
}
75+
implementation("org.apache.tomcat.embed:tomcat-embed-core:10.1.42") {
76+
because("versions below 10.1.42 have security vulnerabilities including CVE-2024-56337 - see dependabot #13")
77+
}
78+
}
6979
}
7080

7181
checkstyle {

0 commit comments

Comments
 (0)