findModule

fun findModule(buildId: String, path: String): Module?

Looks up a module within the project graph by its build ID and Gradle project path.

Return

The matching Module if found, or null.

Parameters

buildId

The build containing the module (e.g., ":" for the root build).

path

The Gradle project path (e.g., ":domain" or ":feature:profile").