kotlin-spring.libraries.spring-boot.springBootApplication.mustache Maven / Gradle / Ivy
package {{basePackage}}
import org.springframework.boot.runApplication
import org.springframework.context.annotation.ComponentScan
import org.springframework.boot.autoconfigure.SpringBootApplication
@SpringBootApplication
@ComponentScan(basePackages = ["{{basePackage}}", "{{apiPackage}}", "{{modelPackage}}"])
class Application
fun main(args: Array) {
runApplication(*args)
}