For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

option

abstract fun option(): String(source)

The option to map to this property. Required when annotating a method. May be omitted when annotating a field in which case the field's name will be used.

Return

The option.

Since

4.6