application { mainClass code example
Example: gradle application system.in
//this works only for the run task, place it in the right block
run {
standardInput = System.in
}
//this works only for the run task, place it in the right block
run {
standardInput = System.in
}