Enables fine-tuning wtp/wst details of the Eclipse plugin
More interesting examples you will find in docs for EclipseWtpComponent and EclipseWtpFacet
apply plugin: 'java'
apply plugin: 'war'
apply plugin: '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
}
}
}
| Type | Name and description |
|---|---|
EclipseWtpComponent |
componentConfigures wtp component. |
EclipseWtpFacet |
facetConfigures wtp facet. |
| Constructor and description |
|---|
EclipseWtp
(EclipseClasspath eclipseClasspath)@param eclipseClasspath - wtp needs access to classpath |
Configures wtp component.
For examples see docs for EclipseWtpComponent
Configures wtp facet.
For examples see docs for EclipseWtpFacet
eclipseClasspath - - wtp needs access to classpathConfigures wtp component.
For examples see docs for EclipseWtpComponent
Configures wtp facet.
For examples see docs for EclipseWtpFacet
Gradle API 2.2-20140924021627+0000