Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.IConventionAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
public class GenerateIdeaProject extends XmlGeneratorTask<Project>
At this moment nearly all configuration is done via IdeaProject
.
Task.Namer
afterConfigured, beforeConfigured, domainObject, generator
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
GenerateIdeaProject() |
|
GenerateIdeaProject(IdeaProject ideaProject) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
configure(Project xmlModule) |
|
Project |
create() |
|
IdeaProject |
getIdeaProject() |
The Idea project model containing the details required to generate the project file.
|
File |
getOutputFile() |
output *.ipr file
|
org.gradle.internal.xml.XmlTransformer |
getXmlTransformer() |
|
void |
setIdeaProject(IdeaProject ideaProject) |
|
void |
setOutputFile(File newOutputFile) |
Sets the output file to write the final configuration to.
|
getIncremental, getInputFile, getInputFileIfExists, getInstantiator, setInputFile
conventionMapping, conventionMapping, getConventionMapping
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
public GenerateIdeaProject()
@Inject public GenerateIdeaProject(IdeaProject ideaProject)
protected void configure(Project xmlModule)
configure
in class XmlGeneratorTask<Project>
public Project create()
create
in class XmlGeneratorTask<Project>
public org.gradle.internal.xml.XmlTransformer getXmlTransformer()
getXmlTransformer
in class XmlGeneratorTask<Project>
public File getOutputFile()
getOutputFile
in class GeneratorTask<Project>
public void setOutputFile(File newOutputFile)
GeneratorTask
setOutputFile
in class GeneratorTask<Project>
newOutputFile
- The output file.@Internal public IdeaProject getIdeaProject()
public void setIdeaProject(IdeaProject ideaProject)