Merge pull request #35119 from quaff
* pr/35119: Polish "Fix dependency management for spring-boot-testcontainers" Fix dependency management for spring-boot-testcontainers Closes gh-35119
This commit is contained in:
@@ -10,6 +10,7 @@ description = "Spring Boot Testcontainers Support"
|
||||
|
||||
dependencies {
|
||||
api(project(":spring-boot-project:spring-boot-autoconfigure"))
|
||||
api("org.testcontainers:testcontainers")
|
||||
|
||||
optional("org.springframework:spring-test")
|
||||
optional("org.springframework.data:spring-data-mongodb")
|
||||
|
||||
@@ -8,7 +8,6 @@ description = "Spring Boot Actuator ActiveMQ smoke test"
|
||||
dependencies {
|
||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-activemq"))
|
||||
|
||||
testImplementation("org.testcontainers:testcontainers")
|
||||
testImplementation("org.testcontainers:junit-jupiter")
|
||||
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
|
||||
|
||||
@@ -61,7 +61,6 @@ dependencies {
|
||||
redisTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
redisTestImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
|
||||
redisTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
redisTestImplementation("org.testcontainers:testcontainers")
|
||||
redisTestImplementation("org.testcontainers:junit-jupiter")
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ dependencies {
|
||||
implementation("org.springframework.session:spring-session-data-mongodb")
|
||||
|
||||
testImplementation("org.testcontainers:mongodb")
|
||||
testImplementation("org.testcontainers:testcontainers")
|
||||
testImplementation("org.testcontainers:junit-jupiter")
|
||||
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
|
||||
@@ -12,7 +12,6 @@ dependencies {
|
||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
|
||||
implementation("org.springframework.session:spring-session-data-redis")
|
||||
|
||||
testImplementation("org.testcontainers:testcontainers")
|
||||
testImplementation("org.testcontainers:junit-jupiter")
|
||||
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
|
||||
Reference in New Issue
Block a user