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
@@ -25,12 +25,10 @@ plugins {
description = "Spring Boot Data Cassandra Test"
dependencies {
api(project(":core:spring-boot-test-autoconfigure"))
api(project(":module:spring-boot-data-cassandra"))
implementation(project(":core:spring-boot-test"))
optional(project(":core:spring-boot-testcontainers"))
optional(project(":module:spring-boot-test-autoconfigure"))
optional("org.junit.jupiter:junit-jupiter-api")
dockerTestImplementation(project(":core:spring-boot-testcontainers"))