how to run an interactive kotlin program on command line
sample code can be found at
https://github.com/KyleMcB/demo
I can't figure out how to run a kotlin jvm application on the command line. Intelli J will run it in it's built in shell with interactive, but I want to distribute this as a command line program. so the program is just trying to use readln()
fun main() {
val name = readln()
println("Hello, " + name + "!")
}
when I use ./gradlew run I get...