0% found this document useful (0 votes)
15 views

Gradle Useful Commands

Uploaded by

vishwasransing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Gradle Useful Commands

Uploaded by

vishwasransing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

gradle clean

2. gradle build

3. gradle build -x test (Excludes tests)

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.

6. ./gradlew clean build


- Cleans the project and then rebuilds it using the Gradle Wrapper.

7. gradle <task> --debug


- Detailed debug of task

You might also like