# WarPlugin

abstract class WarPlugin : Plugin<T> (source)

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

#### See also

<a href="https://docs.gradle.org/current/userguide/war_plugin.html">WAR plugin reference</a>

## Constructors

WarPlugin
Link copied to clipboard
@Inject
constructor(objectFactory: ObjectFactory, attributesFactory: ImmutableAttributesFactory)

## Properties

PROVIDED_COMPILE_CONFIGURATION_NAME
Link copied to clipboard
val PROVIDED_COMPILE_CONFIGURATION_NAME: String = "providedCompile"
PROVIDED_RUNTIME_CONFIGURATION_NAME
Link copied to clipboard
val PROVIDED_RUNTIME_CONFIGURATION_NAME: String = "providedRuntime"
WAR_TASK_NAME
Link copied to clipboard
val WAR_TASK_NAME: String = "war"
WEB_APP_GROUP
Link copied to clipboard
val WEB_APP_GROUP: String = "web application"
Task group for web application related tasks.

## Functions

apply
Link copied to clipboard
open fun apply(project: Project)
configureConfigurations
Link copied to clipboard
open fun configureConfigurations(configurationContainer: ConfigurationContainer)
This method is intended for internal use and should not be called.