Skip to content

Commit 957e730

Browse files
committed
Update spring-boot-smoke-test-data-redis to use docker-test plugin
See gh-41228
1 parent 9662bec commit 957e730

File tree

5 files changed

+14
-13
lines changed

5 files changed

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

67
description = "Spring Boot Data Redis smoke test"
78

89
dependencies {
9-
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-redis"))
10+
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
11+
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
12+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
13+
dockerTestImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
14+
dockerTestImplementation("io.projectreactor:reactor-core")
15+
dockerTestImplementation("io.projectreactor:reactor-test")
16+
dockerTestImplementation("org.junit.jupiter:junit-jupiter")
17+
dockerTestImplementation("org.junit.platform:junit-platform-engine")
18+
dockerTestImplementation("org.junit.platform:junit-platform-launcher")
19+
dockerTestImplementation("org.testcontainers:junit-jupiter")
20+
dockerTestImplementation("org.testcontainers:testcontainers")
21+
dockerTestImplementation("redis.clients:jedis")
1022

11-
testImplementation(project(":spring-boot-project:spring-boot-test"))
12-
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
13-
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
14-
testImplementation(project(":spring-boot-project:spring-boot-testcontainers"))
15-
testImplementation("io.projectreactor:reactor-core")
16-
testImplementation("io.projectreactor:reactor-test")
17-
testImplementation("org.junit.jupiter:junit-jupiter")
18-
testImplementation("org.junit.platform:junit-platform-engine")
19-
testImplementation("org.junit.platform:junit-platform-launcher")
20-
testImplementation("org.testcontainers:junit-jupiter")
21-
testImplementation("org.testcontainers:testcontainers")
22-
testImplementation("redis.clients:jedis")
23+
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-data-redis"))
2324
}

0 commit comments

Comments
 (0)