Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ jacksonJaxrsBaseVersion=2.21.0
# Note the inconsistent version numbering for "annotations"... it no longer matches the above
jacksonAnnotationsVersion=2.21

# Spring Boot brings in a transitive dependency on Jackson 3.x. It has changed package names and can coexist with Jackson 2.x.
jackson3Version=3.1.0

# The Jakarta Activation API version that Angus Activation implements. Keep in sync with angusActivationVersion (above).
jakartaActivationApiVersion=2.1.4

Expand Down
18 changes: 17 additions & 1 deletion server/embedded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,27 @@ dependencies {
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonAnnotationsVersion}"

implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") {
exclude group: "org.springframework.boot", module: "spring-boot-starter-json" // Not used (?) and pulls in an old version of Jackson
exclude group: "jakarta.annotation", module: "jakarta.annotation-api" // Already present in tomcat-annotations-api
exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-core" // We want to force apacheTomcatVersion
}

// Allows forcing a Jackson version that differs from spring-boot's version (e.g., to address CVEs)
implementation('tools.jackson.core:jackson-databind') {
version {
strictly "${jackson3Version}"
}
}
implementation('tools.jackson.core:jackson-core') {
version {
strictly "${jackson3Version}"
}
}
implementation('tools.jackson:jackson-bom') {
version {
strictly "${jackson3Version}"
}
}

// Allows forcing a Spring Framework version that differs from spring-boot's version (e.g., to address CVEs)
implementation('org.springframework:spring-aop') {
version {
Expand Down