Reading stdin and The Kotlin DSL for Gradle - The Code Whisperer

Thanks for the link. Evidently it suffices to replace getByName() with named(), so I’ll do that:

tasks.named("run", JavaExec::class) {
    standardInput = System.`in`
}

If there’s a more-idiomatic way to write that, I’ll do that. :slight_smile: