mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Avoid using Jackson 2.15 in system tests that invoke Gradle
Closes gh-35273
This commit is contained in:
parent
19d7973776
commit
ae86c2f30e
@ -11,6 +11,17 @@ configurations {
|
|||||||
providedRuntime {
|
providedRuntime {
|
||||||
extendsFrom dependencyManagement
|
extendsFrom dependencyManagement
|
||||||
}
|
}
|
||||||
|
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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task syncMavenRepository(type: Sync) {
|
task syncMavenRepository(type: Sync) {
|
||||||
|
Loading…
Reference in New Issue
Block a user