You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
670 B
Groovy
26 lines
670 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '3.0.4'
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.example.kafkaapp'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
}
|
|
}
|
|
|
|
tasks.named('bootRun') {
|
|
doFirst {
|
|
systemProperty 'spring.profiles.active', 'dev' // Set active profile if needed
|
|
}
|
|
} |