mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Upgrade to Jackson Bom 2.15.0-rc2
Closes gh-34980
This commit is contained in:
parent
67285f0530
commit
b8ec7d291d
@ -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"
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user