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.

withNamespace

abstract fun withNamespace(namespace: String): PluginId(source)

Takes this unqualified plugin ID and adds a namespace.

Return

the plugin ID qualified with the given namespace

Since

3.5

Parameters

namespace

the namespace to add.

Throws

if the ID already had a namespace