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

See gh-41228
This commit is contained in:
Andy Wilkinson 2024-06-26 10:49:49 +01:00
parent da28e03670
commit b3f3501e2b
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 Mongodb smoke test"
dependencies {
dockerTestImplementation("org.testcontainers:mongodb")
dockerTestImplementation("org.testcontainers:junit-jupiter")
dockerTestImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-actuator"))
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-security"))
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-mongodb"))
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
implementation("org.springframework.session:spring-session-data-mongodb")
testImplementation("org.testcontainers:mongodb")
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"))
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
}