how to run spring boot application using gradle code example Example 1: gradle springboot run ./gradlew bootRun Example 2: gradle springboot run ./mvnw spring-boot:run