For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

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

Constructors

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

Properties

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

Functions

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