|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.api.tasks.application.CreateStartScripts
class CreateStartScripts extends ConventionTask
A Task for creating OS dependent start scripts.
Property Summary | |
---|---|
String |
applicationName
The application's name. |
FileCollection |
classpath
The class path for the application. |
Iterable |
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. |
Method Summary | |
---|---|
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
@InputFiles FileCollection classpath
@Input @Optional Iterable defaultJvmOpts
String exitEnvironmentVar
@Input String mainClassName
String optsEnvironmentVar
File outputDir
Method Detail |
---|
@TaskAction void generate()
@Input String getExitEnvironmentVar()
@Input String getOptsEnvironmentVar()
@OutputFile File getUnixScript()
@OutputFile File getWindowsScript()
Gradle API 1.12