[Kotlin]Spring Boot 使用thinJar打包找不到manifest问题

脚本是.kts
添加:

tasks.withType {
this.manifest.attributes["Main-Class"] = "com.zksoft.erp.MainApplicationKt"
}

原文地址:https://www.cnblogs.com/pengshaomin/p/13402041.html