Refine spring-boot-test-autoconfigure dependencies

Make `spring-boot-test-autoconfigure` optionally depend on
`spring-boot-autoconfigure` so that it can be an `api` dependency
for `*-test` modules. Also relocate it to core.

See gh-47322
This commit is contained in:
Phillip Webb
2025-10-01 21:41:55 -07:00
parent 17e655b7e5
commit 4b2d358384
57 changed files with 57 additions and 89 deletions
@@ -34,8 +34,7 @@ dependencies {
optional(project(":module:spring-boot-webmvc-test"))
optional("jakarta.servlet:jakarta.servlet-api")
testImplementation(project(":core:spring-boot-test"))
testImplementation(project(":module:spring-boot-test-autoconfigure"))
testImplementation(project(":core:spring-boot-test-autoconfigure"))
testImplementation(project(":test-support:spring-boot-test-support"))
testImplementation(testFixtures(project(":core:spring-boot-autoconfigure")))