Hideout/hideout-mastodon/templates/libraries/spring-boot/springBootApplication.mustache

16 lines
419 B
Plaintext
Raw Permalink Normal View History

2023-10-08 06:06:06 +00:00
package {{basePackage}}
import org.springframework.boot.runApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.ComponentScan
@SpringBootApplication
@ComponentScan(basePackages = ["{{basePackage}}", "{{apiPackage}}", "{{modelPackage}}"])
class Application
fun main(args: Array
<String>) {
runApplication
<Application>(*args)
}