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.
spring-boot/spring-boot-project/spring-boot-cli/test-samples/app.groovy

17 lines
155 B
Groovy

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