api / org.gradle.plugins.ide.eclipse.model / EclipseWtpFacet / file

file

open fun file(closure: Closure<Any>): Unit

Enables advanced configuration like tinkering with the output XML or affecting the way existing wtp facet file content is merged with gradle build information

The object passed to whenMerged{} and beforeMerged{} closures is of type WtpFacet

For example see docs for EclipseWtpFacet

open fun file(action: Action<in XmlFileContentMerger>): Unit

Enables advanced configuration like tinkering with the output XML or affecting the way existing wtp facet file content is merged with gradle build information.

For example see docs for EclipseWtpFacet

Since
3.5