public class ModuleLibrary extends Object
Represents an orderEntry of type module-library in the iml XML.
Constructor and description |
---|
ModuleLibrary
(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope) |
Type | Name and description |
---|---|
void |
addToNode(groovy.util.Node parentNode) |
boolean |
equals(Object o) |
Set<Path> |
getClasses() A set of Jar files or directories containing compiled code. |
boolean |
getExported() |
Set<JarDirectory> |
getJarDirectories() A set of directories containing Jar files. |
Set<Path> |
getJavadoc() A set of Jar files or directories containing Javadoc. |
String |
getScope() The scope of this library. |
Set<Path> |
getSources() A set of Jar files or directories containing source code. |
int |
hashCode() |
boolean |
isExported() Whether the library is exported to dependent modules. |
void |
setClasses(Set<Path> classes) |
void |
setExported(boolean exported) |
void |
setJarDirectories(Set<JarDirectory> jarDirectories) |
void |
setJavadoc(Set<Path> javadoc) |
void |
setScope(String scope) |
void |
setSources(Set<Path> sources) |
String |
toString() |
A set of directories containing Jar files.
The scope of this library. If null, the scope attribute is not added.
Whether the library is exported to dependent modules.
Gradle API 3.0-milestone-1