File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -56,3 +56,13 @@ applyTo: '**/*.java, **/*.kt'
5656- If the project uses Maven, run ` mvn clean package ` .
5757- If the project uses Gradle, run ` ./gradlew build ` (or ` gradlew.bat build ` on Windows).
5858- Ensure all tests pass as part of the build.
59+
60+ ## Useful Commands
61+
62+ | Gradle Command | Maven Command | Description |
63+ | :--------------------------| :----------------------------------| :----------------------------------------------|
64+ | ` ./gradlew bootRun ` | ` ./mvnw spring-boot:run ` | Run the application. |
65+ | ` ./gradlew build ` | ` ./mvnw package ` | Build the application. |
66+ | ` ./gradlew test ` | ` ./mvnw test ` | Run tests. |
67+ | ` ./gradlew bootJar ` | ` ./mvnw spring-boot:repackage ` | Package the application as a JAR. |
68+ | ` ./gradlew bootBuildImage ` | ` ./mvnw spring-boot:build-image ` | Package the application as a container image. |
You can’t perform that action at this time.
0 commit comments