For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

SingleEntryModuleLibrary

Single entry module library

Since

1.0

Constructors

Link copied to clipboard
constructor(library: FilePath, javadoc: Set<FilePath>, source: Set<FilePath>, scope: String)
Creates single entry module library
constructor(library: FilePath, @Nullable javadoc: @Nullable FilePath, @Nullable source: @Nullable FilePath, scope: String)
Creates single entry module library
constructor(library: FilePath, scope: String)
Creates single entry module library

Properties

Link copied to clipboard
open var classes: Set<Path>
Link copied to clipboard
Link copied to clipboard
open var javadoc: Set<Path>
Link copied to clipboard
@get:Nullable
open var moduleVersion: ModuleVersionIdentifier
Link copied to clipboard
open var scope: String
Link copied to clipboard
open var sources: Set<Path>

Functions

Link copied to clipboard
open fun addToNode(parentNode: Node)
Add to node.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getJavadocFile(): File
Returns a single javadoc jar or javadoc folder
Link copied to clipboard
open fun getLibraryFile(): File
Returns a single jar or class folder
Link copied to clipboard
open fun getSourceFile(): File
Returns a single source jar or source folder
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isExported(): Boolean
Whether the library is exported to dependent modules.
Link copied to clipboard
open fun setExported(exported: Boolean)
Sets the exported.
Link copied to clipboard
open fun toString(): String