From c88decfc8f9ee6b011058d679544bd74933330b7 Mon Sep 17 00:00:00 2001 From: Jonatan Ivanov Date: Wed, 16 Nov 2022 15:12:38 -0800 Subject: [PATCH] Pin Spring Framework to 5.+ fixes gh-3541 --- dependencies.gradle | 3 ++- micrometer-core/build.gradle | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dependencies.gradle b/dependencies.gradle index 534785fd2d..1e6a25c4b3 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -72,7 +72,8 @@ def VERSIONS = [ 'org.mongodb:mongodb-driver-sync:latest.release', 'org.postgresql:postgresql:latest.release', 'org.slf4j:slf4j-api:1.7.+', - 'org.springframework:spring-context:latest.release', + 'org.springframework:spring-context:5.+', + 'org.springframework:spring-core:5+', 'org.testcontainers:junit-jupiter:latest.release', 'org.testcontainers:kafka:latest.release', 'org.testcontainers:postgresql:latest.release', diff --git a/micrometer-core/build.gradle b/micrometer-core/build.gradle index 83dc788884..b4a48cb8e3 100644 --- a/micrometer-core/build.gradle +++ b/micrometer-core/build.gradle @@ -115,7 +115,7 @@ dependencies { exclude group: "org.slf4j", module: "jcl-over-slf4j" } testImplementation("org.apache.maven.resolver:maven-resolver-connector-basic:latest.release") - testImplementation("org.springframework:spring-core:latest.release") + testImplementation("org.springframework:spring-core") } task shenandoahTest(type: Test) {