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.

systemPropertiesPrefixedBy

abstract fun systemPropertiesPrefixedBy(variableNamePrefix: String): Provider<Map<String, String>>(source)
abstract fun systemPropertiesPrefixedBy(variableNamePrefix: Provider<String>): Provider<Map<String, String>>(source)

Creates a Provider whose value is a name-to-value map of the system properties with the names starting with the given prefix. The prefix comparison is case-sensitive. The returned map is immutable.

Return

The provider. Never returns null.

Since

7.5

Parameters

variableNamePrefix

The prefix of the system property names