fromPackage

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

Creates a KonturePropertyScope containing properties in a specific package or its subpackages.

Return

A KonturePropertyScope containing properties matching the package or nested packages.

Parameters

packageName

The package FQN prefix.

graph

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

sourceSets

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