Micronaut Banner

Since Micronaut 2.3 a banner is shown when the application starts. It is enabled by default and it also shows the Micronaut version.

  1. $ ./gradlew run
  2. __ __ _ _
  3. | \/ (_) ___ _ __ ___ _ __ __ _ _ _| |_
  4. | |\/| | |/ __| '__/ _ \| '_ \ / _` | | | | __|
  5. | | | | | (__| | | (_) | | | | (_| | |_| | |_
  6. |_| |_|_|\___|_| \___/|_| |_|\__,_|\__,_|\__|
  7. Micronaut (3.0.0)
  8. 17:07:22.997 [main] INFO io.micronaut.runtime.Micronaut - Startup completed in 611ms. Server Running: http://localhost:8080

To customize the banner with your own ASCII Art (just plain ASCII at this moment), create the file src/main/resources/micronaut-banner.txt and it will be used instead.

To disable it, modify your Application class:

  1. public class Application {
  2. public static void main(String[] args) {
  3. Micronaut.build(args)
  4. .banner(false) (1)
  5. .start();
  6. }
  7. }
1Disable the banner