I like that @bsideup and indeed once local delegated properties are available for Kotlin scripts we can provide a more convenient syntax for declaring configuration selectors that provides stronger guarantees:
Copy code
val DependencyHandler.compile by configurations // could check the configuration indeed exists at this point
dependencies {
compile(“…”)
compile(group = “…”, …)
…
}