Skip to content

Commit bc57d30

Browse files
committed
Update spring-boot-smoke-test-kafka to use docker-test plugin
See gh-41228
1 parent 957e730 commit bc57d30

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +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 Kafka smoke test"
78

89
dependencies {
10+
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
11+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
12+
dockerTestImplementation("org.awaitility:awaitility")
13+
dockerTestImplementation("org.testcontainers:junit-jupiter")
14+
dockerTestImplementation("org.testcontainers:kafka")
15+
916
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-json"))
1017
implementation("org.springframework.kafka:spring-kafka")
11-
18+
1219
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"))
1420
testImplementation("org.awaitility:awaitility")
1521
testImplementation("org.springframework.kafka:spring-kafka-test") {
1622
exclude group: "commons-logging", module: "commons-logging"
1723
}
18-
testImplementation("org.testcontainers:junit-jupiter")
19-
testImplementation("org.testcontainers:kafka")
2024
}

0 commit comments

Comments
 (0)