Klasse WarPlugin

java.lang.Object
org.gradle.api.plugins.WarPlugin
Alle implementierten Schnittstellen:
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.

Siehe auch:
  • Felddetails

    • PROVIDED_COMPILE_CONFIGURATION_NAME

      public static final String PROVIDED_COMPILE_CONFIGURATION_NAME
      Siehe auch:
    • PROVIDED_RUNTIME_CONFIGURATION_NAME

      public static final String PROVIDED_RUNTIME_CONFIGURATION_NAME
      Siehe auch:
    • WAR_TASK_NAME

      public static final String WAR_TASK_NAME
      Siehe auch:
    • WEB_APP_GROUP

      @Deprecated public static final String WEB_APP_GROUP
      Veraltet.
      This constant scheduled for removal in Gradle 9.0
      Task group for web application related tasks.
      Siehe auch:
  • Konstruktordetails

    • WarPlugin

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

    • apply

      public void apply(Project project)
      Beschreibung aus Schnittstelle kopiert: Plugin
      Apply this plugin to the given target object.
      Angegeben von:
      apply in Schnittstelle Plugin<Project>
      Parameter:
      project - The target object
    • configureConfigurations

      @Deprecated public void configureConfigurations(ConfigurationContainer configurationContainer)
      Veraltet.
      This method will be removed in Gradle 9.0.
      This method is intended for internal use and should not be called.