- Java JDK Version: 11 Adopt OpenJDK (
java -version
) - Git Client: Any latest version (
git --version
) - Integrated Development Environment: Any version of IntelliJ Idea or Eclipse
./gradlew clean build
./gradlew clean run
Assemble the Jar file:
./gradlew clean assemble
Simpler Way:
java -jar application/build/libs/application-all.jar
Verbose Way with explicit class name to execute:
java -cp application/build/libs/application-all.jar com.harishkannarao.kotlin.exercise.DemoApplication
./gradlew clean build -PprojectVersion=1.0.0