Skip to content

Building

Stu Arnett edited this page Mar 19, 2021 · 3 revisions

Note: This library is published on maven central. To use it, you only need to reference the coordinates in your gradle, ivy, or maven build file. The maven coordinates are on the Home page of the wiki.

If you wish to build a version prior to 3.2.0, you must first create a ~/.gradle/gradle.properties file and place the following inside it:

sonatypeUsername=
githubUsername=
gitUsername=

This is necessary due to the common-build structure previously used for github projects.

To build the project, there are no external dependencies besides the Java SDK (version 8 or higher). Simply use the gradle wrapper (included in the project):
./gradlew jar - on Linux
gradlew.bat jar - on Windows

Running the Unit Tests

To run the tests, you need to copy src/test/resources/test.properties.template to your home directory and remove the .template extension. Then change the values so they are accurate and provide endpoint and credentials to a real ECS cluster. To use the smart-client for the tests, leave enableVhost commented. You can optionally use ECS Test Drive as an endpoint, but you will have to turn off the smart-client (uncomment the enableVhost line and set it to true). Then, execute the tests via Gradle:
./gradlew test - on Linux
gradlew.bat test - on Windows

Clone this wiki locally