Class SingleEntryModuleLibrary
java.lang.Object
org.gradle.plugins.ide.idea.model.ModuleLibrary
org.gradle.plugins.ide.idea.model.SingleEntryModuleLibrary
- All Implemented Interfaces:
Dependency
-
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) Sets the module version.Methods inherited from class 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- Since:
- 2.3
-
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- Since:
- 1.0
-
SingleEntryModuleLibrary
-
-
Method Details
-
getModuleVersion
Module version of the library, if any.- Since:
- 1.1
-
setModuleVersion
Sets the module version.- Since:
- 1.1
-
getLibraryFile
-
getJavadocFile
-
getSourceFile
-