spring-boot/spring-boot-project/spring-boot-kafka/build.gradle

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
846 B
Groovy
Raw Normal View History

2025-03-20 23:38:36 +08:00
plugins {
id "java-library"
id "org.springframework.boot.auto-configuration"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.deployed"
id "org.springframework.boot.optional-dependencies"
}
description = "Spring Boot Kafka"
dependencies {
api(project(":spring-boot-project:spring-boot"))
api("org.springframework.kafka:spring-kafka")
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
optional("org.apache.kafka:kafka-streams")
testImplementation(project(":spring-boot-project:spring-boot-test"))
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
testImplementation("org.springframework.kafka:spring-kafka-test") {
exclude group: "commons-logging", module: "commons-logging"
}
testRuntimeOnly("ch.qos.logback:logback-classic")
}