Ansh Tyagi
11/11/2021, 9:09 AM./gradlew run
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?Vampire
11/11/2021, 9:40 AMrun is a JavaExec typed task.
JavaExec has a property standardInput which by default as documented is set to an empty stream.
Set it to <http://System.in|System.in> and it should work.