|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.plugins.ApplicationPluginConvention
class ApplicationPluginConvention
A Convention used for the ApplicationPlugin.
| Property Summary | |
|---|---|
CopySpec |
applicationDistribution
|
String |
applicationName
The name of the application. |
String |
mainClassName
The fully qualified name of the application's main class. |
Project |
project
|
| Constructor Summary | |
ApplicationPluginConvention(Project project)
|
|
| Method Summary |
|---|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Property Detail |
|---|
CopySpec applicationDistribution
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.
String applicationName
String mainClassName
final Project project
| Constructor Detail |
|---|
ApplicationPluginConvention(Project project)
Gradle API 1.5