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