the program doesnt wait for the input. I want to take in input from the stdin, hence i am using readLine(). Do we have to specify some args in build.gradle.kts?
v
Vampire
11/11/2021, 9:40 AM
Yes,
run
is a
JavaExec
typed task.
JavaExec
has a property
standardInput
which by default as documented is set to an empty stream.
Set it to