Class WarPlugin

java.lang.Object
org.gradle.api.plugins.WarPlugin
All Implemented Interfaces:
Plugin<Project>

public abstract class WarPlugin extends Object implements Plugin<Project>

A Plugin which extends the JavaPlugin to add tasks which assemble a web application into a WAR file.

See Also:
  • Field Details

  • Constructor Details

    • WarPlugin

      @Inject public WarPlugin(ObjectFactory objectFactory, org.gradle.api.internal.attributes.AttributesFactory attributesFactory)
  • Method Details

    • apply

      public void apply(Project project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<Project>
      Parameters:
      project - The 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.