Upgrade to Jackson Bom 2.15.0-rc2

Closes gh-34980
This commit is contained in:
Andy Wilkinson 2023-04-14 08:59:18 +01:00
parent 67285f0530
commit b8ec7d291d
3 changed files with 25 additions and 1 deletions

View File

@ -435,7 +435,7 @@ bom {
]
}
}
library("Jackson Bom", "2.14.2") {
library("Jackson Bom", "2.15.0-rc2") {
group("com.fasterxml.jackson") {
imports = [
"jackson-bom"

View File

@ -6,6 +6,18 @@ plugins {
description = "Spring Boot Buildpack Platform"
configurations.all {
resolutionStrategy {
eachDependency { dependency ->
// Downgrade Jackson as Gradle cannot cope with 2.15.0's multi-version
// jar files with bytecode in META-INF/versions/19
if (dependency.requested.group.startsWith("com.fasterxml.jackson")) {
dependency.useVersion("2.14.2")
}
}
}
}
dependencies {
api("com.fasterxml.jackson.core:jackson-databind")
api("com.fasterxml.jackson.module:jackson-module-parameter-names")

View File

@ -15,7 +15,19 @@ configurations {
// Downgrade SLF4J is required for tests to run in Eclipse
resolutionStrategy.force("org.slf4j:slf4j-api:1.7.36")
}
all {
resolutionStrategy {
eachDependency { dependency ->
// Downgrade Jackson as Gradle cannot cope with 2.15.0's multi-version
// jar files with bytecode in META-INF/versions/19
if (dependency.requested.group.startsWith("com.fasterxml.jackson")) {
dependency.useVersion("2.14.2")
}
}
}
}
}
dependencies {
asciidoctorExtensions("io.spring.asciidoctor:spring-asciidoctor-extensions-section-ids")