14 lines
405 B
Plaintext
14 lines
405 B
Plaintext
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)
|
|
}
|