Gradle Useful Commands
Gradle Useful Commands
gradle clean
2. gradle build
4. gradle bootRun
- Alternatively:
- java -jar build/libs/my-app-1.0.0.jar
- gradle bootRun -Dspring.profiles.active=dev
- gradle bootRun --args='--server.port=8081'
5. ./gradlew build
- Executes the build using the Gradle Wrapper.
- Ensures the use of correct version of Gradle specified for the project.