Class ApplicationPlugin
java.lang.Object
org.gradle.api.plugins.ApplicationPlugin
A Plugin which packages and runs a project as a Java Application.
The plugin can be configured via the JavaApplication extension.
- Since:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe application group.static final StringThe application plugin name.static final StringThe task dist tar name.static final StringThe task dist zip name.static final StringThe task run name.static final StringThe task start scripts name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply this plugin to the given target object.protected abstract org.gradle.api.internal.provider.PropertyFactory
-
Field Details
-
APPLICATION_PLUGIN_NAME
The application plugin name.- Since:
- 2.14
- See Also:
-
APPLICATION_GROUP
-
TASK_RUN_NAME
-
TASK_START_SCRIPTS_NAME
The task start scripts name.- Since:
- 2.14
- See Also:
-
TASK_DIST_ZIP_NAME
-
TASK_DIST_TAR_NAME
-
-
Constructor Details
-
ApplicationPlugin
public ApplicationPlugin()
-
-
Method Details
-
apply
-
getPropertyFactory
@Inject protected abstract org.gradle.api.internal.provider.PropertyFactory getPropertyFactory()
-