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.

TemplateBasedScriptGenerator

Interface for generating scripts with the provided details based on a provided template.

Since

2.4

Functions

Link copied to clipboard
abstract fun generateScript(details: JavaAppStartScriptGenerationDetails, destination: Writer)
Generate the script.
Link copied to clipboard
abstract fun getTemplate(): TextResource
Gets the template reader used for generating script.
Link copied to clipboard
abstract fun setTemplate(template: TextResource)
Sets the template text resource used for generating script.