Gradle is a build automation tool. A full description of Gradle's capabilities is outside our scope here.
For this project, you will use Gradle to manage dependencies, compile the project, and run the tests. The only thing you should need to run Gradle is an installation of the JDK.
To get started:
cd
to the project's topmost directory- Build the project with:
./gradlew clean build
./gradlew clean build
java -cp build/libs/blackjack-engine-jar-with-dependencies.jar \
com.shopstyle.blackjack.App -hand jack four -dealer king
If the engine isn't a terrible blackjack player, it should tell you to hit.