To clean the code type:
./gradlew clean
To test the code type:
./gradlew test
To create the war archive type:
./gradlew libs
To create the complete distribution type:
./gradlew dists
You will find the distribution compressed under build/distributions/.
You can start the jetty application to start the servlet from source:
./gradlew jettyRun
If you using a windows system use gradlew.bat instead the unix script gradlew.