脚本是.kts 添加: tasks.withType { this.manifest.attributes["Main-Class"] = "com.zksoft.erp.MainApplicationKt" } 相关文章: