Files
spring-boot/spring-boot-cli/test-samples/app.groovy
Andy Wilkinson becf225911 Simplify CLI integration auto-config test by removing use of Artemis
Artemis seems to be a bit flakey which is causing sporadic build
failures, for example due to an NPE in Artemis' code.
2016-11-04 20:58:14 +00:00

17 lines
155 B
Groovy

@Configuration
class App {
@Bean
MyService myService() {
return new MyService()
}
}
class MyService {
String sayWorld() {
return "World!"
}
}