Class ModuleLibrary
java.lang.Object
org.gradle.plugins.ide.idea.model.ModuleLibrary
- All Implemented Interfaces:
Dependency
- Direct Known Subclasses:
SingleEntryModuleLibrary
Represents an orderEntry of type module-library in the iml XML.
-
Constructor Summary
ConstructorsConstructorDescriptionModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanA set of Jar files or directories containing compiled code.A set of directories containing Jar files.A set of Jar files or directories containing Javadoc.getScope()The scope of this library.A set of Jar files or directories containing source code.inthashCode()booleanWhether the library is exported to dependent modules.voidsetClasses(Set<Path> classes) voidsetExported(boolean exported) voidsetJarDirectories(Set<JarDirectory> jarDirectories) voidsetJavadoc(Set<Path> javadoc) voidvoidsetSources(Set<Path> sources) toString()
-
Constructor Details
-
ModuleLibrary
public ModuleLibrary(Collection<? extends Path> classes, Collection<? extends Path> javadoc, Collection<? extends Path> sources, Collection<JarDirectory> jarDirectories, String scope)
-
-
Method Details
-
getClasses
-
setClasses
-
getJarDirectories
A set of directories containing Jar files. -
setJarDirectories
-
getJavadoc
-
setJavadoc
-
getSources
-
setSources
-
getScope
The scope of this library. If null, the scope attribute is not added. -
setScope
-
isExported
public boolean isExported()Whether the library is exported to dependent modules. -
setExported
public void setExported(boolean exported) -
addToNode
- Specified by:
addToNodein interfaceDependency
-
equals
-
hashCode
-
toString
-