gradle
8.5

# file

open fun file(@DelegatesTo(value = XmlFileContentMerger::class) closure: Closure)(source)
open fun file(action: Action<out Any>)(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 var file: XmlFileContentMerger(source)