# file

val file: PropertiesFileContentMerger(source)

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

### Deprecated

Will be removed in Gradle 10.

Enables advanced configuration like affecting the way existing jdt file content is merged with gradle build information

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

The object passed to withProperties{} closures is of type java.util.Properties

For example see docs for EclipseJdt

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

### Deprecated

Will be removed in Gradle 10.

Enables advanced configuration like affecting the way existing jdt file content is merged with gradle build information

The object passed to whenMerged{} and beforeMerged{} actions is of type Jdt

The object passed to withProperties{} actions is of type java.util.Properties

For example see docs for EclipseJdt

#### Since

3.5