mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Update spring-boot-smoke-test-kafka to use docker-test plugin
See gh-41228
This commit is contained in:
parent
957e73044b
commit
bc57d30a1f
@ -1,20 +1,24 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "org.springframework.boot.conventions"
|
id "org.springframework.boot.conventions"
|
||||||
|
id "org.springframework.boot.docker-test"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "Spring Boot Kafka smoke test"
|
description = "Spring Boot Kafka smoke test"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
dockerTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||||
|
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||||
|
dockerTestImplementation("org.awaitility:awaitility")
|
||||||
|
dockerTestImplementation("org.testcontainers:junit-jupiter")
|
||||||
|
dockerTestImplementation("org.testcontainers:kafka")
|
||||||
|
|
||||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-json"))
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-json"))
|
||||||
implementation("org.springframework.kafka:spring-kafka")
|
implementation("org.springframework.kafka:spring-kafka")
|
||||||
|
|
||||||
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
|
||||||
testImplementation("org.awaitility:awaitility")
|
testImplementation("org.awaitility:awaitility")
|
||||||
testImplementation("org.springframework.kafka:spring-kafka-test") {
|
testImplementation("org.springframework.kafka:spring-kafka-test") {
|
||||||
exclude group: "commons-logging", module: "commons-logging"
|
exclude group: "commons-logging", module: "commons-logging"
|
||||||
}
|
}
|
||||||
testImplementation("org.testcontainers:junit-jupiter")
|
|
||||||
testImplementation("org.testcontainers:kafka")
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user