| API Documentation: | GenerateEclipseClasspath |
|---|
Generates an Eclipse .classpath file. If you want to fine tune the eclipse configuration
At this moment nearly all configuration is done via EclipseClasspath.
| Property | Description |
containers | Deprecated. Please use #eclipse.classpath.containers. See examples in |
defaultOutputDir | Deprecated. Please use #eclipse.classpath.defaultOutputDir. See examples in |
downloadJavadoc | Deprecated. Please use #eclipse.classpath.downloadJavadoc. See examples in |
downloadSources | Deprecated. Please use #eclipse.classpath.downloadSources. See examples in |
inputFile | The input file to load the initial configuration from. Defaults to the output file. If the specified input file does not exist, this task uses some default initial configuration. |
minusConfigurations | Deprecated. Please use #eclipse.classpath.minusConfigurations. See examples in |
outputFile | The output file to write the final configuration to. |
plusConfigurations | Deprecated. Please use #eclipse.classpath.plusConfigurations. See examples in |
sourceSets | Deprecated. Please use #eclipse.classpath.sourceSets. See examples in |
variables | Deprecated. Please use #eclipse.pathVariables. See examples in |
Deprecated. Please use #eclipse.classpath.containers. See examples in EclipseClasspath.
Containers to be added to the classpath
- Default with
eclipseandjavaplugins: - [JRE container]
File defaultOutputDir
Deprecated. Please use #eclipse.classpath.defaultOutputDir. See examples in EclipseClasspath.
The default output directory for eclipse generated files, eg classes.
- Default with
eclipseandjavaplugins: ${project.projectDir}/bin
Deprecated. Please use #eclipse.classpath.downloadJavadoc. See examples in EclipseClasspath.
Whether to download and add javadocs associated with the dependency jars. Defaults to false.
- Default with
eclipseandjavaplugins: false
Deprecated. Please use #eclipse.classpath.downloadSources. See examples in EclipseClasspath.
Whether to download and add sources associated with the dependency jars. Defaults to true.
- Default with
eclipseandjavaplugins: true
File inputFile
The input file to load the initial configuration from. Defaults to the output file. If the specified input file does not exist, this task uses some default initial configuration.
Collection<Configuration> minusConfigurations
Collection<Configuration>Deprecated. Please use #eclipse.classpath.minusConfigurations. See examples in EclipseClasspath.
The configurations which files are to be excluded from the classpath entries.
- Default with
eclipseandjavaplugins: []
File outputFile
The output file to write the final configuration to.
Collection<Configuration> plusConfigurations
Collection<Configuration>Deprecated. Please use #eclipse.classpath.plusConfigurations. See examples in EclipseClasspath.
The configurations which files are to be transformed into classpath entries.
- Default with
eclipseandjavaplugins: project.configurations.testRuntime
Deprecated. Please use #eclipse.classpath.sourceSets. See examples in EclipseClasspath.
The source sets to be added to the classpath.
- Default with
eclipseandjavaplugins: project.sourceSets
Deprecated. Please use #eclipse.pathVariables. See examples in EclipseClasspath.
Adds path variables to be used for replacing absolute paths in classpath entries.
- Default with
eclipseandjavaplugins: [:]
| Method | Description |
containers(containers) | Deprecated. Please use #eclipse.classpath.containers. See examples in |
variables(variables) | Deprecated. Please use #eclipse.pathVariables. See examples in |
void containers(String... containers)
String...Deprecated. Please use #eclipse.classpath.containers. See examples in EclipseClasspath.
Adds containers to the .classpath.
Deprecated. Please use #eclipse.pathVariables. See examples in EclipseClasspath.
Adds variables to be used for replacing absolute paths in classpath entries.