Micronaut 如何同时构建 fatjar 和 war,例如 Spring Boot 或 Grails?

Micronaut how to build both fatjar and war like Spring Boot or Grails?

有没有办法在 micronaut 中同时构建 war 和 fatjar?就像 Spring Boot 或 Grails ?

谢谢。

这在文档中有记载:

create a runnable JAR file by running ./gradlew assemble

至于WAR,除了用户指南外还有单独的文档:

https://micronaut-projects.github.io/micronaut-servlet/latest/guide/#warDeployment