October 2018
Intermediate to advanced
982 pages
23h 29m
English
As you can see, getting the packaged executable JAR file is fairly straightforward. All the magic is already coded and provided to us as part of the Spring Boot Gradle plugin. The addition of the plugin adds a number of tasks, which allow us to package the Spring Boot application, run it and build the JAR, TAR, WAR files, and so on. For example, the bootRun task, which we have been using throughout this book, is provided by the Spring Boot Gradle plugin, among others. We can see a complete list of the available Gradle tasks by executing ./gradlew tasks. When we run this command, we will get the following output:
------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------ ...Read now
Unlock full access