Class SingleEntryModuleLibrary
java.lang.Object
org.gradle.plugins.ide.idea.model.ModuleLibrary
org.gradle.plugins.ide.idea.model.SingleEntryModuleLibrary
- All Implemented Interfaces:
- Dependency
Single entry module library
- 
Constructor SummaryConstructorsConstructorDescriptionSingleEntryModuleLibrary(FilePath library, String scope) Creates single entry module librarySingleEntryModuleLibrary(FilePath library, Set<FilePath> javadoc, Set<FilePath> source, String scope) Creates single entry module librarySingleEntryModuleLibrary(FilePath library, FilePath javadoc, FilePath source, String scope) Creates single entry module library
- 
Method SummaryModifier and TypeMethodDescriptionReturns a single javadoc jar or javadoc folderReturns a single jar or class folderModule version of the library, if any.Returns a single source jar or source foldervoidsetModuleVersion(ModuleVersionIdentifier moduleVersion) Methods inherited from class org.gradle.plugins.ide.idea.model.ModuleLibraryaddToNode, equals, getClasses, getJarDirectories, getJavadoc, getScope, getSources, hashCode, isExported, setClasses, setExported, setJarDirectories, setJavadoc, setScope, setSources, toString
- 
Constructor Details- 
SingleEntryModuleLibrarypublic SingleEntryModuleLibrary(FilePath library, Set<FilePath> javadoc, Set<FilePath> source, String scope) Creates single entry module library- Parameters:
- library- a path to jar or class folder in idea format
- javadoc- paths to javadoc jars or javadoc folders
- source- paths to source jars or source folders
- scope- scope
 
- 
SingleEntryModuleLibrarypublic SingleEntryModuleLibrary(FilePath library, @Nullable FilePath javadoc, @Nullable FilePath source, String scope) Creates single entry module library- Parameters:
- library- a path to jar or class folder in idea format
- javadoc- path to javadoc jars or javadoc folders
- source- paths to source jars or source folders
- scope- scope
 
- 
SingleEntryModuleLibraryCreates single entry module library- Parameters:
- library- a path to jar or class folder in Path format
- scope- scope
 
 
- 
- 
Method Details- 
getModuleVersionModule version of the library, if any.
- 
setModuleVersion
- 
getLibraryFileReturns a single jar or class folder
- 
getJavadocFileReturns a single javadoc jar or javadoc folder
- 
getSourceFileReturns a single source jar or source folder
 
-