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
@@ -24,8 +24,11 @@ plugins {
description = "Spring Boot RSocket Test"
dependencies {
api(project(":core:spring-boot-test-autoconfigure"))
api(project(":module:spring-boot-rsocket"))
optional(project(":core:spring-boot-autoconfigure"))
testImplementation(project(":test-support:spring-boot-test-support"))
testRuntimeOnly("ch.qos.logback:logback-classic")