by

infix fun <T> Property<T>.by(value: T)

Simple infix function to add a property of T easily.

pom {
name by "noel-common-utils"
}

infix fun <T> Property<T>.by(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") }