Class EclipseWtp
java.lang.Object
org.gradle.plugins.ide.eclipse.model.EclipseWtp
Deprecated.
Will be removed in Gradle 10.
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 and EclipseWtpFacet
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
}
facet {
//for examples see docs for EclipseWtpFacet
}
}
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Configures wtp component.voidcomponent(Action<? super EclipseWtpComponent> action) Deprecated.Configures wtp component.voidDeprecated.Configures wtp facet.voidfacet(Action<? super EclipseWtpFacet> action) Deprecated.Configures wtp facet.Deprecated.Configures wtp component.getFacet()Deprecated.Configures wtp facet.protected abstract ObjectFactoryDeprecated.Injects and returns an instance ofObjectFactory.voidsetComponent(EclipseWtpComponent component) Deprecated.voidsetFacet(EclipseWtpFacet facet) Deprecated.
-
Constructor Details
-
EclipseWtp
@Inject public EclipseWtp()Deprecated.
-
-
Method Details
-
getObjectFactory
Deprecated.Injects and returns an instance ofObjectFactory.- Since:
- 4.9
-
getComponent
Deprecated.Configures wtp component.For examples see docs for
EclipseWtpComponent -
setComponent
Deprecated. -
component
Deprecated.Configures wtp component.For examples see docs for
EclipseWtpComponent -
component
Deprecated.Configures wtp component.For examples see docs for
EclipseWtpComponent- Since:
- 3.5
-
getFacet
Deprecated.Configures wtp facet.For examples see docs for
EclipseWtpFacet -
setFacet
Deprecated. -
facet
Deprecated.Configures wtp facet.For examples see docs for
EclipseWtpFacet -
facet
Deprecated.Configures wtp facet.For examples see docs for
EclipseWtpFacet- Since:
- 3.5
-