From 0daaa1c38a509497c5f3b4e69ac840661877f985 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sat, 3 Sep 2022 08:23:20 +0100 Subject: [PATCH] Make QDox an implementation detail of spring-core-test Previously, com.thoughtworks.qdox:qdox was declared as an api dependency of spring-core-test despite it only being used in the module's internals. This resulted in it unnecessarily appearing on the compile classpath of consuming projects. This commit moves qdox to be an implementation dependency, removing it from the compile classpath of consuming projects but ensuring that it's still available at runtime. Closes gh-29066 --- spring-core-test/spring-core-test.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-core-test/spring-core-test.gradle b/spring-core-test/spring-core-test.gradle index 264bc8f7ea8..f99d4198491 100644 --- a/spring-core-test/spring-core-test.gradle +++ b/spring-core-test/spring-core-test.gradle @@ -4,10 +4,10 @@ dependencies { api(project(":spring-core")) api("org.junit.jupiter:junit-jupiter-api") api("org.assertj:assertj-core") - api("com.thoughtworks.qdox:qdox") compileOnly("org.junit.jupiter:junit-jupiter") compileOnly("org.junit.platform:junit-platform-engine") compileOnly("org.junit.platform:junit-platform-launcher") + implementation("com.thoughtworks.qdox:qdox") } jar {