spring-boot/spring-bootstrap-cli/samples/runner.groovy
Dave Syer e3d5bf2e21 [bs-29] Support for XML configuration in groovy apps
Mixed .groovy and .xml now supported bia spring CLI, e.g.

$ spring samples/runner.groovy samples/runner.xml

[Fixes #48059037]
2013-04-29 16:12:29 +01:00

11 lines
121 B
Groovy

package org.test
class Runner implements CommandLineRunner {
void run(String... args) {
print "Hello World!"
}
}