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.

TextProvider

Provides access to the content of a generated text file.

Since

1.11

Functions

Link copied to clipboard
abstract fun asBuilder(): StringBuilder
Get the content as a StringBuilder, permitting direct modification.
Link copied to clipboard
abstract fun getText(): String
The text content.
Link copied to clipboard
abstract fun setText(value: String)
Replace the content.