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.

systemProperty

abstract fun systemProperty(propertyName: String): Provider<String>(source)
abstract fun systemProperty(propertyName: Provider<String>): Provider<String>(source)

Creates a Provider whose value is fetched from system properties using the given property name.

Return

the provider for the system property, never returns null

Since

6.1

Parameters

propertyName

the name of the system property