api / org.gradle.plugins.ide.idea.model / SingleEntryModuleLibrary

SingleEntryModuleLibrary

open class SingleEntryModuleLibrary : ModuleLibrary

Single entry module library

Constructors

<init>

SingleEntryModuleLibrary(library: FilePath, javadoc: MutableSet<FilePath>, source: MutableSet<FilePath>, scope: String)
SingleEntryModuleLibrary(library: FilePath, javadoc: FilePath, source: FilePath, scope: String)
SingleEntryModuleLibrary(library: FilePath, scope: String)

Creates single entry module library

Functions

getJavadocFile

open fun getJavadocFile(): File

Returns a single javadoc jar or javadoc folder

getLibraryFile

open fun getLibraryFile(): File

Returns a single jar or class folder

getModuleVersion

open fun getModuleVersion(): ModuleVersionIdentifier

Module version of the library, if any.

getSourceFile

open fun getSourceFile(): File

Returns a single source jar or source folder

setModuleVersion

open fun setModuleVersion(moduleVersion: ModuleVersionIdentifier): Unit

Inherited Functions

addToNode

open fun addToNode(parentNode: Node): Unit

equals

open fun equals(other: Any?): Boolean

getClasses

open fun getClasses(): MutableSet<Path>

A set of Jar files or directories containing compiled code.

getJarDirectories

open fun getJarDirectories(): MutableSet<JarDirectory>

A set of directories containing Jar files.

getJavadoc

open fun getJavadoc(): MutableSet<Path>

A set of Jar files or directories containing Javadoc.

getScope

open fun getScope(): String

The scope of this library. If null, the scope attribute is not added.

getSources

open fun getSources(): MutableSet<Path>

A set of Jar files or directories containing source code.

hashCode

open fun hashCode(): Int

isExported

open fun isExported(): Boolean

Whether the library is exported to dependent modules.

setClasses

open fun setClasses(classes: MutableSet<Path>): Unit

setExported

open fun setExported(exported: Boolean): Unit

setJarDirectories

open fun setJarDirectories(jarDirectories: MutableSet<JarDirectory>): Unit

setJavadoc

open fun setJavadoc(javadoc: MutableSet<Path>): Unit

setScope

open fun setScope(scope: String): Unit

setSources

open fun setSources(sources: MutableSet<Path>): Unit

toString

open fun toString(): String