From 8fd536c637e0c783a7411b545a766526ca24a7e2 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 3 Feb 2025 10:00:28 +0000 Subject: [PATCH] Remove commons-logging excludes The spring-jcl module has been removed in Spring Framework 7 in favor of Commons Logging 1.3. This commit removes the excludes for commons-logging:commons-logging that werew required to ensure that spring-jcl was used instead but that are no longer needed. See gh-955 --- spring-restdocs-asciidoctor/build.gradle | 4 +--- spring-restdocs-restassured/build.gradle | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/spring-restdocs-asciidoctor/build.gradle b/spring-restdocs-asciidoctor/build.gradle index ceb5202f..149c81e2 100644 --- a/spring-restdocs-asciidoctor/build.gradle +++ b/spring-restdocs-asciidoctor/build.gradle @@ -11,9 +11,7 @@ dependencies { internal(platform(project(":spring-restdocs-platform"))) testImplementation("junit:junit") - testImplementation("org.apache.pdfbox:pdfbox") { - exclude group: "commons-logging", module: "commons-logging" - } + testImplementation("org.apache.pdfbox:pdfbox") testImplementation("org.assertj:assertj-core") testImplementation("org.springframework:spring-core") diff --git a/spring-restdocs-restassured/build.gradle b/spring-restdocs-restassured/build.gradle index 812ed5d1..5c2dc4c9 100644 --- a/spring-restdocs-restassured/build.gradle +++ b/spring-restdocs-restassured/build.gradle @@ -8,9 +8,7 @@ description = "Spring REST Docs REST Assured" dependencies { api(project(":spring-restdocs-core")) - api("io.rest-assured:rest-assured") { - exclude group: "commons-logging", module: "commons-logging" - } + api("io.rest-assured:rest-assured") implementation("org.springframework:spring-web") internal(platform(project(":spring-restdocs-platform")))