A memo when standard input is not accepted when writing a program that processes based on standard input in java and building with gradle.
Add the following to build.gradle.
build.gradle
run {
standardInput = System.in
}
Recommended Posts