First, you must have gradle installed. (Use brew.)
git clone <repository_url>
cd <repository_name>
curl https://raw.githubusercontent.com/WeCanCodeIT/gradle-scripts/master/application-plugin/simple.gradle --output build.gradle
gradle run -Papp=<main_class_name>
<main_class_name>
must include the package, if any.