Spring Boot CLI
sdk install springbootspring --versionsdk ls springboot
Simple Start
- app.groovy
groovy@RestController
class ThisWillActuallyRun {
@RequestMapping("/")
String home() {
"Hello World!"
}
}
- run
textspring run app.groovy
textcurl localhost:8080