Package org.gradle.api.plugins
Class WarPlugin
- java.lang.Object
-
- org.gradle.api.plugins.WarPlugin
-
public abstract class WarPlugin extends java.lang.Object implements Plugin<Project>
A
Pluginwhich extends theJavaPluginto add tasks which assemble a web application into a WAR file.- See Also:
- WAR plugin reference
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROVIDED_COMPILE_CONFIGURATION_NAMEstatic java.lang.StringPROVIDED_RUNTIME_CONFIGURATION_NAMEstatic java.lang.StringWAR_TASK_NAMEstatic java.lang.StringWEB_APP_GROUPDeprecated.This constant scheduled for removal in Gradle 9.0
-
Constructor Summary
Constructors Constructor Description WarPlugin(ObjectFactory objectFactory, org.gradle.api.internal.attributes.ImmutableAttributesFactory attributesFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidapply(Project project)Apply this plugin to the given target object.voidconfigureConfigurations(ConfigurationContainer configurationContainer)Deprecated.This method will be removed in Gradle 9.0.
-
-
-
Field Detail
-
PROVIDED_COMPILE_CONFIGURATION_NAME
public static final java.lang.String PROVIDED_COMPILE_CONFIGURATION_NAME
- See Also:
- Constant Field Values
-
PROVIDED_RUNTIME_CONFIGURATION_NAME
public static final java.lang.String PROVIDED_RUNTIME_CONFIGURATION_NAME
- See Also:
- Constant Field Values
-
WAR_TASK_NAME
public static final java.lang.String WAR_TASK_NAME
- See Also:
- Constant Field Values
-
WEB_APP_GROUP
@Deprecated public static final java.lang.String WEB_APP_GROUP
Deprecated.This constant scheduled for removal in Gradle 9.0Task group for web application related tasks.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WarPlugin
@Inject public WarPlugin(ObjectFactory objectFactory, org.gradle.api.internal.attributes.ImmutableAttributesFactory attributesFactory)
-
-
Method Detail
-
apply
public void apply(Project project)
Description copied from interface:PluginApply this plugin to the given target object.
-
configureConfigurations
@Deprecated public void configureConfigurations(ConfigurationContainer configurationContainer)
Deprecated.This method will be removed in Gradle 9.0.This method is intended for internal use and should not be called.
-
-