Package: org.gradle.api.tasks.application

## [Groovy] Class CreateStartScripts

- org.gradle.api.tasks.application.CreateStartScripts

- A Task for creating OS dependent start scripts.

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `String` | `applicationName` The application's name.
    `FileCollection` | `classpath` The class path for the application.
    `Iterable<String>` | `defaultJvmOpts` The application's default JVM options.
    `String` | `exitEnvironmentVar`
    `String` | `mainClassName` The application's main class.
    `String` | `optsEnvironmentVar`
    `File` | `outputDir` The directory to write the scripts into.

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `generate()`
    `String` | `getExitEnvironmentVar()`
    `String` | `getOptsEnvironmentVar()` Returns the name of the application's OPTS environment variable.
    `File` | `getUnixScript()`
    `File` | `getWindowsScript()`

- - ### Property Detail

    - #### @Input String applicationName

      The application's name.

    - #### @InputFiles FileCollection classpath

      The class path for the application.

    - #### @Input @Optional Iterable<String> defaultJvmOpts

      The application's default JVM options.

    - #### String exitEnvironmentVar

    - #### @Input String mainClassName

      The application's main class.

    - #### String optsEnvironmentVar

    - #### File outputDir

      The directory to write the scripts into.

  - ### Method Detail

    - #### @TaskAction void generate()

    - #### @Input String getExitEnvironmentVar()

    - #### @Input String getOptsEnvironmentVar()

      Returns the name of the application's OPTS environment variable.

    - #### @OutputFile File getUnixScript()

    - #### @OutputFile File getWindowsScript()