首页 > 技术文章 > [Kotlin]Spring Boot 使用thinJar打包找不到manifest问题
pengshaomin 2020-07-30 09:44 原文
脚本是.kts 添加:
tasks.withType { this.manifest.attributes["Main-Class"] = "com.zksoft.erp.MainApplicationKt" }