Browse Source

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
pull/29072/head
Andy Wilkinson 3 years ago committed by Sam Brannen
parent
commit
0daaa1c38a
  1. 2
      spring-core-test/spring-core-test.gradle

2
spring-core-test/spring-core-test.gradle

@ -4,10 +4,10 @@ dependencies { @@ -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 {

Loading…
Cancel
Save