Class SingleEntryModuleLibrary
- java.lang.Object
-
- org.gradle.plugins.ide.idea.model.ModuleLibrary
-
- org.gradle.plugins.ide.idea.model.SingleEntryModuleLibrary
-
- All Implemented Interfaces:
Dependency
public class SingleEntryModuleLibrary extends ModuleLibrary
Single entry module library
-
-
Constructor Summary
Constructors Constructor Description SingleEntryModuleLibrary(FilePath library, java.lang.String scope)
Creates single entry module librarySingleEntryModuleLibrary(FilePath library, java.util.Set<FilePath> javadoc, java.util.Set<FilePath> source, java.lang.String scope)
Creates single entry module librarySingleEntryModuleLibrary(FilePath library, FilePath javadoc, FilePath source, java.lang.String scope)
Creates single entry module library
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getJavadocFile()
Returns a single javadoc jar or javadoc folderjava.io.File
getLibraryFile()
Returns a single jar or class folderModuleVersionIdentifier
getModuleVersion()
Module version of the library, if any.java.io.File
getSourceFile()
Returns a single source jar or source foldervoid
setModuleVersion(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 Detail
-
SingleEntryModuleLibrary
public SingleEntryModuleLibrary(FilePath library, java.util.Set<FilePath> javadoc, java.util.Set<FilePath> source, java.lang.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, java.lang.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
public SingleEntryModuleLibrary(FilePath library, java.lang.String scope)
Creates single entry module library- Parameters:
library
- a path to jar or class folder in Path formatscope
- scope
-
-
Method Detail
-
getModuleVersion
@Nullable public ModuleVersionIdentifier getModuleVersion()
Module version of the library, if any.
-
setModuleVersion
public void setModuleVersion(@Nullable ModuleVersionIdentifier moduleVersion)
-
getLibraryFile
public java.io.File getLibraryFile()
Returns a single jar or class folder
-
getJavadocFile
public java.io.File getJavadocFile()
Returns a single javadoc jar or javadoc folder
-
getSourceFile
public java.io.File getSourceFile()
Returns a single source jar or source folder
-
-