Groovy script based boot example Install spring boot cli then execute spring run application.groovy To create a jar file spring jar app.jar application.groovy