gradle
Toggle table of contents
9.1.0-20250628022042+0000
API
Platform filter
API
Switch theme
Search in API
gradle
gradle
/
org.gradle.api.plugins
/
WarPlugin
War
Plugin
API
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>
Members
Constructors
War
Plugin
Link copied to clipboard
API
@
Inject
constructor
(
objectFactory
:
ObjectFactory
,
attributesFactory
:
AttributesFactory
)
Properties
PROVIDED_
COMPILE_
CONFIGURATION_
NAME
Link copied to clipboard
API
val
PROVIDED_COMPILE_CONFIGURATION_NAME
:
String
=
"providedCompile"
PROVIDED_
RUNTIME_
CONFIGURATION_
NAME
Link copied to clipboard
API
val
PROVIDED_RUNTIME_CONFIGURATION_NAME
:
String
=
"providedRuntime"
WAR_
TASK_
NAME
Link copied to clipboard
API
val
WAR_TASK_NAME
:
String
=
"war"
Functions
apply
Link copied to clipboard
API
open
fun
apply
(
project
:
Project
)