mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user