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 Summary
ConstructorsConstructorDescriptionSingleEntryModuleLibrary(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, @Nullable FilePath javadoc, @Nullable FilePath source, String scope) Creates single entry module library - 
Method Summary
Modifier and TypeMethodDescriptionReturns a single javadoc jar or javadoc folderReturns a single jar or class folder@Nullable ModuleVersionIdentifierModule version of the library, if any.Returns a single source jar or source foldervoidsetModuleVersion(@Nullable ModuleVersionIdentifier moduleVersion) Methods inherited from class org.gradle.plugins.ide.idea.model.ModuleLibrary
addToNode, equals, getClasses, getJarDirectories, getJavadoc, getScope, getSources, hashCode, isExported, setClasses, setExported, setJarDirectories, setJavadoc, setScope, setSources, toString 
- 
Constructor Details
- 
SingleEntryModuleLibrary
public 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 formatjavadoc- paths to javadoc jars or javadoc folderssource- paths to source jars or source foldersscope- scope
 - 
SingleEntryModuleLibrary
public 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 formatjavadoc- path to javadoc jars or javadoc folderssource- paths to source jars or source foldersscope- scope
 - 
SingleEntryModuleLibrary
Creates single entry module library- Parameters:
 library- a path to jar or class folder in Path formatscope- scope
 
 - 
 - 
Method Details
- 
getModuleVersion
Module version of the library, if any. - 
setModuleVersion
 - 
getLibraryFile
Returns a single jar or class folder - 
getJavadocFile
Returns a single javadoc jar or javadoc folder - 
getSourceFile
Returns a single source jar or source folder 
 -