How to run gradle 6 run configurations 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
}