Micronaut Banner

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

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

If you want to customize the banner with your own Ascii Art (just plain ascii at this moment) just create the file src/main/resources/micronaut-banner.txt and it will be used instead.

In case you want 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