# WarPlugin

abstract class WarPlugin : Plugin<Project> (source)

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

#### Since

0.7

#### See also

WAR plugin reference

## Constructors

WarPlugin
Link copied to clipboard
@Inject
constructor(objectFactory: ObjectFactory, attributesFactory: AttributesFactory, publishArtifactNotationParser: PublishArtifactNotationParser)

## Properties

PROVIDED_COMPILE_CONFIGURATION_NAME
Link copied to clipboard
val PROVIDED_COMPILE_CONFIGURATION_NAME: String = "providedCompile"
The provided compile configuration name.
PROVIDED_RUNTIME_CONFIGURATION_NAME
Link copied to clipboard
val PROVIDED_RUNTIME_CONFIGURATION_NAME: String = "providedRuntime"
The provided runtime configuration name.
WAR_TASK_NAME
Link copied to clipboard
val WAR_TASK_NAME: String = "war"
The war task name.

## Functions

apply
Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.