mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Mixed .groovy and .xml now supported bia spring CLI, e.g. $ spring samples/runner.groovy samples/runner.xml [Fixes #48059037]
11 lines
121 B
Groovy
11 lines
121 B
Groovy
package org.test
|
|
|
|
class Runner implements CommandLineRunner {
|
|
|
|
void run(String... args) {
|
|
print "Hello World!"
|
|
}
|
|
}
|
|
|
|
|