|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.GeneratorTask org.gradle.api.tasks.XmlGeneratorTask org.gradle.plugins.idea.IdeaModule
class IdeaModule extends XmlGeneratorTask
Generates an IDEA module file.
Field Summary |
---|
Fields inherited from class GeneratorTask | |
---|---|
generator |
Property Summary | |
---|---|
boolean |
downloadJavadoc
Whether to download and add javadoc associated with the dependency jars. |
boolean |
downloadSources
Whether to download and add sources associated with the dependency jars. |
java.util.Set |
excludeDirs
The dirs to be excluded by idea. |
java.lang.String |
javaVersion
The JDK to use for this module. |
java.io.File |
moduleDir
The content root directory of the module. |
java.io.File |
outputDir
The idea output dir for the production sources. |
java.util.Map |
scopes
The keys of this map are the Intellij scopes. |
java.util.Set |
sourceDirs
The dirs containing the production sources. |
java.io.File |
testOutputDir
The idea output dir for the test sources. |
java.util.Set |
testSourceDirs
The dirs containing the test sources. |
java.util.Map |
variables
The variables to be used for replacing absolute paths in the iml entries. |
Method Summary | |
---|---|
protected java.lang.Object
|
addJavadocArtifact(DefaultExternalModuleDependency dependency)
|
protected java.lang.Object
|
addSourceArtifact(DefaultExternalModuleDependency dependency)
|
protected void
|
configure(Module module)
|
protected Module
|
create()
|
protected java.util.Set
|
getAllDeps(java.util.Set deps, java.util.Set allDeps = [])
|
protected Path
|
getContentPath()
|
protected java.util.Set
|
getDependencies()
|
protected java.util.Set
|
getExcludePaths()
|
protected java.util.Set
|
getModuleLibraries(java.lang.String scope)
|
protected java.util.Set
|
getModules(java.lang.String scope)
|
protected Path
|
getOutputPath()
|
protected Path
|
getPath(java.io.File file)
|
protected PathFactory
|
getPathFactory()
|
protected java.util.Set
|
getSourcePaths()
|
protected Path
|
getTestOutputPath()
|
protected java.util.Set
|
getTestSourcePaths()
|
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 |
---|
@Input boolean downloadJavadoc
@Input boolean downloadSources
@InputFiles java.util.Set excludeDirs
@Input @Optional java.lang.String javaVersion
inherited
, the project SDK is used. Otherwise the SDK for the corresponding
value of java version is used for this module
@InputFiles java.io.File moduleDir
@InputFiles @Optional java.io.File outputDir
java.util.Map scopes
@InputFiles java.util.Set sourceDirs
@InputFiles @Optional java.io.File testOutputDir
@InputFiles java.util.Set testSourceDirs
java.util.Map variables
Method Detail |
---|
protected java.lang.Object addJavadocArtifact(DefaultExternalModuleDependency dependency)
protected java.lang.Object addSourceArtifact(DefaultExternalModuleDependency dependency)
@Override protected void configure(Module module)
@Override protected Module create()
protected java.util.Set getAllDeps(java.util.Set deps, java.util.Set allDeps = [])
protected Path getContentPath()
protected java.util.Set getDependencies()
protected java.util.Set getExcludePaths()
protected java.util.Set getModuleLibraries(java.lang.String scope)
protected java.util.Set getModules(java.lang.String scope)
protected Path getOutputPath()
protected Path getPath(java.io.File file)
protected PathFactory getPathFactory()
protected java.util.Set getSourcePaths()
protected Path getTestOutputPath()
protected java.util.Set getTestSourcePaths()
Groovy Documentation