# ApplicationPluginConvention

abstract class ApplicationPluginConvention(source)

### Deprecated

The Convention used for configuring the ApplicationPlugin.

#### Deprecated

Use JavaApplication instead. This class is scheduled for removal in Gradle 9.0.

## Constructors

ApplicationPluginConvention
Link copied to clipboard
constructor()

## Functions

getApplicationDefaultJvmArgs
Link copied to clipboard
abstract fun getApplicationDefaultJvmArgs(): Iterable<String>
Array of string arguments to pass to the JVM when running the application
getApplicationDistribution
Link copied to clipboard
abstract fun getApplicationDistribution(): CopySpec
The specification of the contents of the distribution.
getApplicationName
Link copied to clipboard
abstract fun getApplicationName(): String
The name of the application.
getExecutableDir
Link copied to clipboard
abstract fun getExecutableDir(): String
Directory to place executables in
getMainClassName
Link copied to clipboard
abstract fun getMainClassName(): String
The fully qualified name of the application's main class.
getProject
Link copied to clipboard
abstract fun getProject(): Project
setApplicationDefaultJvmArgs
Link copied to clipboard
abstract fun setApplicationDefaultJvmArgs(applicationDefaultJvmArgs: Iterable<String>)
Array of string arguments to pass to the JVM when running the application
setApplicationDistribution
Link copied to clipboard
abstract fun setApplicationDistribution(applicationDistribution: CopySpec)
setApplicationName
Link copied to clipboard
abstract fun setApplicationName(applicationName: String)
The name of the application.
setExecutableDir
Link copied to clipboard
abstract fun setExecutableDir(executableDir: String)
Directory to place executables in
setMainClassName
Link copied to clipboard
abstract fun setMainClassName(mainClassName: String)
The fully qualified name of the application's main class.