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.

asString

abstract fun asString(): StringBuilder(source)

Returns the XML document as a StringBuilder. Changes to the returned instance will be applied to the XML. The returned instance is only valid until one of the other methods on this interface are called.

Return

A StringBuilder representation of the XML.

Since

1.0