Class EclipseWtp
java.lang.Object
org.gradle.plugins.ide.eclipse.model.EclipseWtp
Enables fine-tuning wtp/wst details of the Eclipse plugin
For projects applying the eclipse plugin and either one of the ear or war plugins, this plugin is auto-applied.
More interesting examples you will find in docs for EclipseWtpComponent
plugins {
id 'war' // or 'ear' or 'java'
id 'eclipse-wtp'
}
eclipse {
//if you want parts of paths in resulting file(s) to be replaced by variables (files):
pathVariables 'GRADLE_HOME': file('/best/software/gradle'), 'TOMCAT_HOME': file('../tomcat')
wtp {
component {
//for examples see docs for EclipseWtpComponent
}
}
}
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures wtp component.voidcomponent(Action<? super EclipseWtpComponent> action) Configures wtp component.voidDeprecated.Will be removed in Gradle 10.voidfacet(Action<? super EclipseWtpFacet> action) Deprecated.Will be removed in Gradle 10.Configures wtp component.getFacet()Deprecated.Will be removed in Gradle 10.protected abstract ObjectFactoryDeprecated.Will be removed in Gradle 10.voidsetComponent(EclipseWtpComponent component) Sets the component.voidsetFacet(EclipseWtpFacet facet) Deprecated.Will be removed in Gradle 10.
-
Constructor Details
-
EclipseWtp
public EclipseWtp()
-
-
Method Details
-
getObjectFactory
Deprecated.Will be removed in Gradle 10.Injects and returns an instance ofObjectFactory.- Since:
- 4.9
-
getComponent
Configures wtp component.For examples see docs for
EclipseWtpComponent- Since:
- 1.0
-
setComponent
-
component
Configures wtp component.For examples see docs for
EclipseWtpComponent- Since:
- 1.0
-
component
Configures wtp component.For examples see docs for
EclipseWtpComponent- Since:
- 3.5
-
getFacet
Deprecated.Will be removed in Gradle 10.Configures wtp facet.- Since:
- 1.0
-
setFacet
Deprecated.Will be removed in Gradle 10.Sets the wtp facet configuration.- Since:
- 1.0
-
facet
Deprecated.Will be removed in Gradle 10.Configures wtp facet.- Since:
- 1.0
-
facet
Deprecated.Will be removed in Gradle 10.Configures wtp facet.- Since:
- 3.5
-