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.

ModuleLibrary

constructor(classes: Collection<out Path>, javadoc: Collection<out Path>, sources: Collection<out Path>, jarDirectories: Collection<JarDirectory>, scope: String)(source)

Creates a new ModuleLibrary.

Since

1.0