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:
gradle bootRun
gradle run
Both tasks can be used to run the Spring Boot application, what are the main differences between these tasks?
-
gradle bootRun
- standard gradle'run' task with additional Spring Boot features. e.g. you can type:bootRun {addResources = false}
check github -
gradle run
standard gradle 'run' task