api / org.gradle.jvm.application.scripts / JavaAppStartScriptGenerationDetails

JavaAppStartScriptGenerationDetails

@Incubating interface JavaAppStartScriptGenerationDetails

Details for generating Java-based application start scripts.

Functions

getAppNameSystemProperty

abstract fun getAppNameSystemProperty(): String

This system property to use to pass the script name to the application. May be null.

getApplicationName

abstract fun getApplicationName(): String

The display name of the application

getClasspath

abstract fun getClasspath(): MutableList<String>

The classpath, relative to the application home directory.

getDefaultJvmOpts

abstract fun getDefaultJvmOpts(): MutableList<String>

getExitEnvironmentVar

abstract fun getExitEnvironmentVar(): String

The environment variable to use to control exit value (windows only)

getMainClassName

abstract fun getMainClassName(): String

getOptsEnvironmentVar

abstract fun getOptsEnvironmentVar(): String

The environment variable to use to provide additional options to the JVM

getScriptRelPath

abstract fun getScriptRelPath(): String

The path of the script, relative to the application home directory.