byLazy

infix fun <T> Property<T>.byLazy(lazyValue: Property<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 by { dir("./some/dir") }