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.

AbstractLibrary

Common superclass for the library elements.

Since

1.0

Inheritors

Constructors

Link copied to clipboard
constructor(node: Node, fileReferenceFactory: FileReferenceFactory)
Creates a new AbstractLibrary.
constructor(library: FileReference)
Creates a new AbstractLibrary.

Properties

Link copied to clipboard
val COMPONENT_DEPENDENCY_ATTRIBUTE: String = "org.eclipse.jst.component.dependency"
The component dependency attribute.
Link copied to clipboard
val COMPONENT_NON_DEPENDENCY_ATTRIBUTE: String = "org.eclipse.jst.component.nondependency"
The component non dependency attribute.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Nullable
open var moduleVersion: ModuleVersionIdentifier
Link copied to clipboard

Functions

Link copied to clipboard
open fun appendNode(node: Node)
Append node.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Returns the access rules.
Link copied to clipboard
Returns the entry attributes.
Link copied to clipboard
abstract fun getKind(): String
Returns the kind.
Link copied to clipboard
Returns the native library location.
Link copied to clipboard
open fun getPath(): String
Returns the path.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isExported(): Boolean
Returns whether exported is set.
Link copied to clipboard
open fun setAccessRules(accessRules: Set<AccessRule>)
Sets the access rules.
Link copied to clipboard
open fun setExported(exported: Boolean)
Sets the exported.
Link copied to clipboard
open fun setNativeLibraryLocation(location: String)
Sets the native library location.
Link copied to clipboard
open fun setPath(path: String)
Sets the path.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeEntryAttributes(node: Node)
Write entry attributes.