Home > Software design >  Micronaut how to build both fatjar and war like Spring Boot or Grails?
Micronaut how to build both fatjar and war like Spring Boot or Grails?

Time:11-26

Is there any way to build both war and fatjar in micronaut? Just like Spring Boot or Grails ?

Thanks.

CodePudding user response:

This is documented in the documentation:

create a runnable JAR file by running ./gradlew assemble

As for WAR, there is separate documentation aside from the user guide:

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

  • Related