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.

getFirstLevelModuleDependencies

Returns successfully resolved direct dependencies.

Prefer org.gradle.api.artifacts.result.ResolutionResult for traversing the resolved graph or getArtifacts for accessing the resolved artifacts.

Return

only resolved dependencies

Since

3.3