Basics
Building Spring Boot Application
- Build Without Tests using Gradle.
The following command cleans and then builds the application without tests. The -x is to exclude the task list, here test task is excluded
./gradlew clean build -x testRunning Sprint Boot Application
The following command will run the application built in the above step with the dev profile
java -jar build/libs/app-service-0.0.1.jar --spring.profiles.active=dev