property

open fun property(name: String, value: Any)(source)

Adds a property to be written to the properties file.

A property's value will be coerced to a String with String#valueOf(Object) or a Callable returning a value to be coerced into a String.

Values are not allowed to be null.

Since

3.4

Parameters

name

Name of the property

value

Value of the property