What is the difference between "gradle bootRun" and "gradle run" to run a springboot application?

To run a Spring Boot application, there are two gradle tasks:

  1. gradle bootRun
  2. gradle run

Both tasks can be used to run the Spring Boot application, what are the main differences between these tasks?


  1. gradle bootRun - standard gradle'run' task with additional Spring Boot features. e.g. you can type: bootRun {addResources = false}check github
  2. gradle run standard gradle 'run' task