Represents the customizable elements of an iml (via XML hooks everything of the iml is customizable).
Type | Name and description |
---|---|
static String |
INHERITED |
Path |
contentPath The directory for the content root of the module. |
Set<Dependency> |
dependencies The dependencies of this module. |
Set<Path> |
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<Path> |
sourceFolders The directories containing the production sources. |
Path |
testOutputDir The output directory for test classes. |
Set<Path> |
testSourceFolders The directories containing the test sources. |
Constructor and description |
---|
Module
(XmlTransformer withXmlActions, PathFactory pathFactory) |
Type | Name and description |
---|---|
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() |
int |
hashCode() |
protected boolean |
isDependencyOrderEntry(def orderEntry) |
protected void |
load(Node xml) |
protected void |
store(Node xml) |
String |
toString() |
The directory for the content root of the module. Defaults to the project directory. If null, the directory containing the output file will be used.
The dependencies of this module. Must not be null.
If true, output directories for this module will be located below the output directory for the project; otherwise, outputDir and testOutputDir will take effect.
The output directory for production classes. If null
, no entry will be created.
The output directory for test classes. If null
, no entry will be created.
Gradle API 2.2-20140924021627+0000