Skip to content

Commit b3f3501

Browse files
committed
Update spring-boot-smoke-test-session-mongo to use docker-test plugin
See gh-41228
1 parent da28e03 commit b3f3501

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
plugins {
22
id "java"
33
id "org.springframework.boot.conventions"
4+
id "org.springframework.boot.docker-test"
45
}
56

67
description = "Spring Boot Session Mongodb smoke test"
78

89
dependencies {
10+
dockerTestImplementation("org.testcontainers:mongodb")
11+
dockerTestImplementation("org.testcontainers:junit-jupiter")
12+
dockerTestImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
13+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
14+
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
15+
916
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator"))
1017
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-security"))
1118
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-mongodb"))
1219
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
1320
implementation("org.springframework.session:spring-session-data-mongodb")
14-
15-
testImplementation("org.testcontainers:mongodb")
16-
testImplementation("org.testcontainers:junit-jupiter")
17-
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
18-
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
19-
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
2021
}

0 commit comments

Comments
 (0)