Exclude unwanted commons-logging dependencies

Closes gh-757
This commit is contained in:
Andy Wilkinson
2021-11-18 14:47:35 +00:00
parent 36358244ca
commit 68a981388a
4 changed files with 6 additions and 5 deletions

View File

@@ -21,7 +21,6 @@ dependencies {
testImplementation(project(":spring-restdocs-mockmvc"))
testImplementation(project(":spring-restdocs-restassured"))
testImplementation(project(":spring-restdocs-webtestclient"))
testImplementation("io.rest-assured:rest-assured")
testImplementation("javax.validation:validation-api")
testImplementation("junit:junit")
testImplementation("org.testng:testng:6.9.10")

View File

@@ -19,7 +19,9 @@ dependencies {
merge project(":spring-restdocs-asciidoctor-2.x")
testImplementation("junit:junit")
testImplementation("org.apache.pdfbox:pdfbox")
testImplementation("org.apache.pdfbox:pdfbox") {
exclude group: "commons-logging", module: "commons-logging"
}
testImplementation("org.asciidoctor:asciidoctorj:1.5.8.1")
testImplementation("org.assertj:assertj-core")
testImplementation("org.springframework:spring-core")

View File

@@ -22,8 +22,6 @@ dependencies {
testImplementation("org.hamcrest:hamcrest-library")
testImplementation("org.mockito:mockito-core")
testImplementation("org.springframework.hateoas:spring-hateoas")
testRuntimeOnly("commons-logging:commons-logging:1.2")
}
compatibilityTest {

View File

@@ -8,7 +8,9 @@ description = "Spring REST Docs REST Assured"
dependencies {
api(project(":spring-restdocs-core"))
api("io.rest-assured:rest-assured")
api("io.rest-assured:rest-assured") {
exclude group: "commons-logging", module: "commons-logging"
}
implementation("org.springframework:spring-web")