Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 784 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 784 Bytes

Java Scaffold for Code Retreat

Option 1: use docker wrapper scripts

See scripts/ folder.

Install Java and Gradle

There are several options. The easiest way is to work with a docker image ready with all the tools you need.

The only downside is that you need to run gradle through Docker. To make it easy,
we wrote a script gradle wrapping the docker command and acting as gradle.

Run the tests

./gradle test

Run the app

./gradle run

The results of the tests are reported both in the standard output and the following file build/reports/tests/index.html.

Clean

./gradle clean

Hierarchy of directories

  • src/main/java: source code
  • src/test/java: the tests
  • build: the generated binaries, jars, etc