Groovy Documentation

org.gradle.plugins.idea
[Groovy] Class IdeaProject

java.lang.Object
  org.gradle.api.internal.ConventionTask
      org.gradle.api.tasks.GeneratorTask
          org.gradle.api.tasks.XmlGeneratorTask
              org.gradle.plugins.idea.IdeaProject

class IdeaProject
extends XmlGeneratorTask

Generates an IDEA project file.

Authors:
Hans Dockter


Field Summary
 
Fields inherited from class GeneratorTask
generator
 
Property Summary
java.lang.String javaVersion

The java version used for defining the project sdk.

java.util.Set subprojects

The subprojects that should be mapped to modules in the ipr file.

java.util.Set wildcards

The wildcard resource patterns.

 
Method Summary
void configure(Project ideaProject)

Project create()

PathFactory getPathFactory()

 
Methods inherited from class XmlGeneratorTask
configure, create, getXmlTransformer, withXml, withXml
 
Methods inherited from class GeneratorTask
beforeConfigured, beforeConfigured, getInputFile, getOutputFile, setInputFile, setOutputFile, whenConfigured, whenConfigured
 

Property Detail

javaVersion

@Input
java.lang.String javaVersion
The java version used for defining the project sdk.


subprojects

java.util.Set subprojects
The subprojects that should be mapped to modules in the ipr file. The subprojects will only be mapped, if the Idea plugin has been applied to them.


wildcards

@Input
java.util.Set wildcards
The wildcard resource patterns. Must not be null.


 
Method Detail

configure

void configure(Project ideaProject)


create

Project create()


getPathFactory

PathFactory getPathFactory()


 

Groovy Documentation