|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject org.gradle.plugins.ide.idea.model.Module
class Module extends XmlPersistableConfigurationObject
Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).
Property Summary | |
---|---|
static String |
INHERITED
|
Path |
contentPath
The directory for the content root of the module. |
Set |
dependencies
The dependencies of this module. |
Set |
excludeFolders
The directories to be excluded. |
boolean |
inheritOutputDirs
If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect. |
String |
jdkName
|
Path |
outputDir
The output directory for production classes. |
Set |
sourceFolders
The directories containing the production sources. |
Path |
testOutputDir
The output directory for test classes. |
Set |
testSourceFolders
The directories containing the test sources. |
Constructor Summary | |
Module(XmlTransformer withXmlActions, PathFactory pathFactory)
|
Method Summary | |
---|---|
protected def
|
configure(Path contentPath, Set sourceFolders, Set testSourceFolders, Set excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set dependencies, String jdkName)
|
boolean
|
equals(def o)
|
protected String
|
getDefaultResourceName()
|
String
|
getJavaVersion()
|
int
|
hashCode()
|
protected boolean
|
isDependencyOrderEntry(def orderEntry)
|
protected void
|
load(Node xml)
|
void
|
setJavaVersion(String jdkName)
|
protected void
|
store(Node xml)
|
String
|
toString()
|
Property Detail |
---|
static final String INHERITED
Path contentPath
Set dependencies
Set excludeFolders
boolean inheritOutputDirs
String jdkName
Path outputDir
Set sourceFolders
Path testOutputDir
Set testSourceFolders
Constructor Detail |
---|
Module(XmlTransformer withXmlActions, PathFactory pathFactory)
Method Detail |
---|
protected def configure(Path contentPath, Set sourceFolders, Set testSourceFolders, Set excludeFolders, Boolean inheritOutputDirs, Path outputDir, Path testOutputDir, Set dependencies, String jdkName)
boolean equals(def o)
@Override protected String getDefaultResourceName()
String getJavaVersion()
int hashCode()
protected boolean isDependencyOrderEntry(def orderEntry)
@Override protected void load(Node xml)
void setJavaVersion(String jdkName)
@Override protected void store(Node xml)
String toString()
Gradle API 1.12