Java CLI App (with Gradle) Development Build and Run Project If you have gradle locally installed $ gradle build $ java -jar build/libs/javaapp-1.0-SNAPSHOT.jar If you do not have gradle locally installed $ ./gradlew build $ java -jar build/libs/javaapp-1.0-SNAPSHOT.jar