fromModule

fun fromModule(path: String, graph: ProjectGraph = Konture.projectGraph): KontureScope

Creates a KontureScope for a specific Gradle module, identified by its path (e.g., ":core", ":app").

Return

A KontureScope containing classes defined in the specified module.

Parameters

path

The Gradle module path.

graph

The project graph to use (defaults to Konture.projectGraph).

Throws

If the specified module path is not found in the project graph.