property

fun property(property: Property<*>)(source)

Adds a pre-built Property to this builder.

Parameters

property

The Property instance to add


fun <T> property(name: String, block: PropertyBuilder<T>.() -> Unit)(source)

Creates and adds a Property inline using the DSL.

Parameters

name

Name of the property

block

DSL block to configure the PropertyBuilder