toggle menu
gradle
8.11
API
switch theme
search in API
gradle
/
org.gradle.jvm.application.scripts
/
TemplateBasedScriptGenerator
Template
Based
Script
Generator
API
interface
TemplateBasedScriptGenerator
:
ScriptGenerator
(
source
)
Interface for generating scripts with the provided details based on a provided template.
Members
Functions
generate
Script
Link copied to clipboard
API
abstract
fun
generateScript
(
details
:
JavaAppStartScriptGenerationDetails
,
destination
:
Writer
)
get
Template
Link copied to clipboard
API
abstract
fun
getTemplate
(
)
:
TextResource
Gets the template reader used for generating script.
set
Template
Link copied to clipboard
API
abstract
fun
setTemplate
(
template
:
TextResource
)
Sets the template text resource used for generating script.