O'Reilly logo
  • Peter Backx thinks this is interesting:

Building a default self-executing JAR file is very easy; actually it is done automatically once we execute the ./gradlew clean bootRepackage command.


Cover of Spring Boot Cookbook


With the latest Spring boot, you need to set the executable configuration option to make this work: