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

Thank you! The last version seems to express the intent most directly, so I prefer it. What makes you prefer the first version?