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. 
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. 