Modifier and Type | Field | Description |
---|---|---|
static String |
EXTENSION_NAME |
Name of the project extension (
Application container) that this plugin provides. |
static TypeOf<NamedDomainObjectContainer<Application>> |
EXTENSION_TYPE |
Type of the project extension (
Application container) that this plugin provides. |
static String |
TASK_GROUP |
Name of the task group that this plugin uses.
|
Constructor | Description |
---|---|
ApplicationPlugin() |
Modifier and Type | Method | Description |
---|---|---|
void |
apply(Project project) |
Apply this plugin to the given project.
|
NamedDomainObjectContainer<Application> |
getApplications() |
This method allows type-safe programmatic access to the
Application container used by this plugin. |
public static final String TASK_GROUP
public static final String EXTENSION_NAME
Name of the project extension (Application
container) that this plugin provides.
Usage: project.getExtensions().getByName(ApplicationPlugin.EXTENSION_NAME)
getApplications()
,
EXTENSION_TYPE
,
Constant Field Valuespublic static final TypeOf<NamedDomainObjectContainer<Application>> EXTENSION_TYPE
Type of the project extension (Application
container) that this plugin provides.
Usage: project.getExtensions().getByType(ApplicationPlugin.EXTENSION_TYPE)
getApplications()
,
EXTENSION_NAME
@Nonnull public NamedDomainObjectContainer<Application> getApplications()
This method allows type-safe programmatic access to the Application
container used by this plugin.
Usage: project.getPlugins().getPlugin(ApplicationPlugin.class).getApplications()
Application
container used by this plugin.EXTENSION_NAME
,
EXTENSION_TYPE