# file

open fun file(@DelegatesTo(value = XmlFileContentMerger::class) closure: Closure)(source)

Enables advanced configuration like tinkering with the output XML or affecting the way that the contents of an existing .classpath file is merged with Gradle build information. The object passed to the whenMerged{} and beforeMerged{} closures is of type Classpath.

See EclipseProject for an example.

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

Enables advanced configuration like tinkering with the output XML or affecting the way that the contents of an existing .classpath file is merged with Gradle build information. The object passed to the whenMerged{} and beforeMerged{} closures is of type Classpath.

See EclipseProject for an example.

#### Since

3.5

open var file: XmlFileContentMerger(source)