Gradle Starter Application
This is a Hexagon service created from a template.
To build the application you will need:
- JDK 8+ for compiling the sources.
- An Internet connection to download the dependencies.
To run the application:
- JRE 8+ (JDK is not required at runtime).
./gradlew clean build
./gradlew -t watch
- Test (*Test):
- Integration Test (*IT):
- Test Coverage:
- Run Container (after assemble):
docker-compose up -d
The reports are located in the
build/reports directory after building the project.
Gradle Wrapper Setup
You can change the Gradle version in
Prior to generate the Docker image, you need to create the service distribution:
./gradlew installDist. After that you can start the whole service stack executing:
docker-compose up -d.
After building the project (
./gradlew build), archives with the application's distributions are
To install the application you just need to unpack one distribution file.
After installing the application, you can run the application executing the
Logs are stored in the
log directory inside the script's execution directory.
Once the application is running, you can send a request executing: