Files
spring-shell/spring-shell-samples/spring-shell-samples.gradle
Janne Valkealahti bb7afdf10f Configure build-info for sample
- e2e tests version command fails without build-info.
- Relates #470
2022-08-17 09:28:38 +01:00

25 lines
627 B
Groovy

plugins {
id 'org.springframework.shell.sample'
id 'org.springframework.boot'
id 'org.graalvm.buildtools.native'
}
description = 'Spring Shell Samples'
dependencies {
management platform(project(":spring-shell-management"))
implementation project(':spring-shell-starter-jna')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
buildInfo()
}
// TODO: workaround until boot's aot plugin automatically extends
// from all super configurations like graalvm's plugin does.
configurations {
aotCompileClasspath.extendsFrom management
aotRuntimeClasspath.extendsFrom management
}