You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
plugins { |
|
id "java" |
|
id "org.springframework.boot.docker-test" |
|
} |
|
|
|
description = "Spring Boot Kafka smoke test" |
|
|
|
configurations.all { |
|
resolutionStrategy.eachDependency { DependencyResolveDetails details -> |
|
if (details.requested.module.group == "org.apache.kafka" && details.requested.module.name == "kafka-server-common") { |
|
details.artifactSelection { |
|
selectArtifact(DependencyArtifact.DEFAULT_TYPE, null, null) |
|
} |
|
} |
|
} |
|
} |
|
|
|
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-docker")) |
|
dockerTestImplementation(project(":spring-boot-project:spring-boot-testcontainers")) |
|
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("org.springframework.kafka:spring-kafka") |
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")) |
|
testImplementation("org.awaitility:awaitility") |
|
testImplementation("org.springframework.kafka:spring-kafka-test") { |
|
exclude group: "commons-logging", module: "commons-logging" |
|
} |
|
}
|
|
|