Update spring-boot-smoke-test-session-webflux-mongo to use docker-test plugin

See gh-41228
This commit is contained in:
Andy Wilkinson 2024-06-26 10:50:49 +01:00
parent 2890067e3a
commit 5e332b8785
2 changed files with 7 additions and 6 deletions

View File

@ -1,20 +1,21 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}
description = "Spring Boot Session WebFlux MongoDB smoke test"
dependencies {
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
dockerTestImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
dockerTestImplementation("org.testcontainers:junit-jupiter")
dockerTestImplementation("org.testcontainers:mongodb")
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-security"))
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-webflux"))
runtimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-mongodb-reactive"))
runtimeOnly("org.springframework.session:spring-session-data-mongodb")
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
testImplementation("org.testcontainers:mongodb")
testImplementation("org.testcontainers:junit-jupiter")
}