27 lines
685 B
Groovy
27 lines
685 B
Groovy
|
springBoot {
|
|||
|
// для использования со Spring Actuator: отображает в actuator/info информацию о приложении
|
|||
|
buildInfo()
|
|||
|
}
|
|||
|
|
|||
|
configurations {
|
|||
|
compileOnly {
|
|||
|
extendsFrom annotationProcessor
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
repositories {
|
|||
|
mavenCentral()
|
|||
|
}
|
|||
|
|
|||
|
dependencies {
|
|||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|||
|
implementation 'org.apache.camel.springboot:camel-spring-boot-starter:3.16.0'
|
|||
|
compileOnly 'org.projectlombok:lombok'
|
|||
|
annotationProcessor 'org.projectlombok:lombok'
|
|||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|||
|
}
|
|||
|
|
|||
|
tasks.named('test') {
|
|||
|
useJUnitPlatform()
|
|||
|
}
|