ApplicationPluginConvention

Deprecated

The Convention used for configuring the ApplicationPlugin.

Deprecated

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

Constructors

Link copied to clipboard
constructor()

Functions

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