fromPackage

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

Creates a KontureFunctionScope containing functions in a specific package or its subpackages.

Return

A KontureFunctionScope containing functions 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).