fromModule

fun fromModule(path: String, graph: ProjectGraph = Konture.projectGraph, sourceSets: SourceSetSelector = SourceSets.production()): KonturePropertyScope

Creates a KonturePropertyScope for a specific Gradle module path.

Return

A KonturePropertyScope containing properties defined in the specified module.

Parameters

path

The Gradle module path (e.g. ":core", ":app").

graph

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

sourceSets

The source set selector (defaults to SourceSets.production).

Throws

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