Add @SpringBootApplication class
ProprietaryAdds a @SpringBootApplication class containing a main method to bootify your Spring Framework application.
io. moderne. java. spring. boot. AddSpringBootApplicationOptional
When your source code repo contains multiple java projects/modules, it's impossible to decide in which one to add the Application class in a guaranteed way. By setting this property, you can filter out sourcepaths (supporting glob) to make 1 module/project applicable as Applications module.
mod run . --recipe= io. moderne. java. spring. boot. AddSpringBootApplicationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.