Package org.gradle.api.plugins
Class ApplicationPluginConvention
java.lang.Object
org.gradle.api.plugins.ApplicationPluginConvention
Deprecated.
The Convention used for configuring the ApplicationPlugin.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.Array of string arguments to pass to the JVM when running the applicationabstract CopySpecDeprecated.The specification of the contents of the distribution.abstract StringDeprecated.The name of the application.abstract StringDeprecated.Directory to place executables inabstract StringDeprecated.The fully qualified name of the application's main class.abstract ProjectDeprecated.abstract voidsetApplicationDefaultJvmArgs(Iterable<String> applicationDefaultJvmArgs) Deprecated.Array of string arguments to pass to the JVM when running the applicationabstract voidsetApplicationDistribution(CopySpec applicationDistribution) Deprecated.abstract voidsetApplicationName(String applicationName) Deprecated.The name of the application.abstract voidsetExecutableDir(String executableDir) Deprecated.Directory to place executables inabstract voidsetMainClassName(String mainClassName) Deprecated.The fully qualified name of the application's main class.
- 
Constructor Details- 
ApplicationPluginConventionpublic ApplicationPluginConvention()Deprecated.
 
- 
- 
Method Details- 
getApplicationNameDeprecated.The name of the application.
- 
setApplicationNameDeprecated.The name of the application.
- 
getMainClassNameDeprecated.The fully qualified name of the application's main class.
- 
setMainClassNameDeprecated.The fully qualified name of the application's main class.
- 
getApplicationDefaultJvmArgsDeprecated.Array of string arguments to pass to the JVM when running the application
- 
setApplicationDefaultJvmArgsDeprecated.Array of string arguments to pass to the JVM when running the application
- 
getExecutableDirDeprecated.Directory to place executables in- Since:
- 4.5
 
- 
setExecutableDirDeprecated.Directory to place executables in- Since:
- 4.5
 
- 
getApplicationDistributionDeprecated.The specification of the contents of the distribution. Use this CopySpecto include extra files/resource in the application distribution.plugins { id 'application' } application { applicationDistribution.from("some/dir") { include "*.txt" } }Note that the application plugin pre configures this spec to; include the contents of " src/dist", copy the application start scripts into the "bin" directory, and copy the built jar and its dependencies into the "lib" directory.
- 
setApplicationDistributionDeprecated.
- 
getProjectDeprecated.
 
- 
JavaApplicationinstead. This class is scheduled for removal in Gradle 9.0.