api / org.gradle.plugins.ide.api / PropertiesGeneratorTask

PropertiesGeneratorTask

abstract class PropertiesGeneratorTask<T : PersistableConfigurationObject> : GeneratorTask<T>

A convenience superclass for those tasks which generate Properties configuration files from a domain object of type T.

Parameters

- The domain object type.

Constructors

<init>

PropertiesGeneratorTask()

Inherited Functions

getInputFile

open fun getInputFile(): File

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.

getOutputFile

open fun getOutputFile(): File

The output file to write the final configuration to.

setInputFile

open fun setInputFile(inputFile: File): Unit

Sets the input file to load the initial configuration from.

setOutputFile

open fun setOutputFile(outputFile: File): Unit

Sets the output file to write the final configuration to.

Inheritors

GenerateEclipseJdt

open class GenerateEclipseJdt : PropertiesGeneratorTask<Jdt>

Generates the Eclipse JDT configuration file. If you want to fine tune the eclipse configuration

At this moment nearly all configuration is done via EclipseJdt.