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

file

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

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>): Unit

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