39 lines
961 B
Groovy
39 lines
961 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.4.1'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'io.micrometer:micrometer-tracing-bridge-brave'
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.kafka:spring-kafka-test'
|
|
testImplementation('io.micrometer:micrometer-tracing-integration-test') {
|
|
exclude group: 'io.opentelemetry'
|
|
exclude group: 'com.wavefront'
|
|
exclude group: 'io.micrometer', module: 'micrometer-tracing-bridge-otel'
|
|
}
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|