ScriptGenerator (Gradle API 4.3.1)
Date: 2017-11-08

org.gradle.jvm.application.scripts

## Interface ScriptGenerator

- All Known Subinterfaces:
    TemplateBasedScriptGenerator

      @Incubating
      public interface ScriptGenerator

  Generates a script to start a JVM application.
  See Also:
    `TemplateBasedScriptGenerator`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `generateScript(JavaAppStartScriptGenerationDetails details, Writer destination)` Generate the script.

- - ### Method Detail

    - #### generateScript

          void generateScript(JavaAppStartScriptGenerationDetails details,
                            Writer destination)

      Generate the script.

      Implementations should not close the given writer. It is the responsibility of the caller to close the stream.

      Parameters:
        `details` - the application details
        `destination` - the script destination