A Convention used for the ApplicationPlugin.
| Type | Name and description |
|---|---|
Iterable<String> |
applicationDefaultJvmArgsArray of string arguments to pass to the JVM when running the application |
CopySpec |
applicationDistribution |
String |
applicationNameThe name of the application. |
String |
mainClassNameThe fully qualified name of the application's main class. |
Project |
project |
| Constructor and description |
|---|
ApplicationPluginConvention
(Project project) |
Array of string arguments to pass to the JVM when running the application
The specification of the contents of the distribution.
Use this CopySpec to include extra files/resource in the application distribution.
apply plugin: '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.
The name of the application.
The fully qualified name of the application's main class.
Gradle API 2.2-20140924021627+0000