Scheduled job generating a item reports.
- Spring Boot
- Spring Dev Tools
- Gradle
Installing Gradle separately is not required. It is recommended to use the Gradle Wrapper.
Build: ./gradlew clean build
Build skip tests: ./gradlew clean build -x test
Run: ./gradlew bootRun
Developers should use the alias gw
as it starts the Gradle daemon
and is easy to type.
Build: ./gw clean build
Build skip tests: ./gw clean build -x test
Run: ./gw bootRun
Spring Boot applications utilize the file application.yml
. It defines
the configuration for the application.
The classpath application.yml
located at src/main/resources
defines
static configuration that is constant across all environments.
Located in the application root is application.yml
. It defines the configuration
for development only. This file is automatically picked up by Spring Boot
when the application is executed from the root of the project. This file is not
included in the built JAR.
IDE
Intellij is the recommended IDE. Spring Tool Suite is another option as it has great support for Spring Boot applications.
Keep in mind with Intellij you will need to set the 'Working Directory' in the run configuration
to the root of the project so the development application.yml
is picked up.