byLazy

infix fun <T> Property<in T>.byLazy(lazyValue: Property<in T>.() -> Unit)

Infix function to lazily evaluate a Gradle property from a DSL function. This is useful if you rely on Property and such.

someDirectoryProp byLazy { dir("./some/dir") }