Companion

object Companion

Factory methods for constructing slice scopes.

Functions

Link copied to clipboard
fun fromModule(pattern: String, modulePath: String, graph: ProjectGraph = Konture.projectGraph, sourceSets: SourceSetSelector = SourceSets.production()): KontureSliceScope

Derives a KontureSliceScope for a specific Gradle module path based on a slice pattern.

Link copied to clipboard
fun fromPackage(pattern: String, packageName: String, graph: ProjectGraph = Konture.projectGraph, sourceSets: SourceSetSelector = SourceSets.production()): KontureSliceScope

Derives a KontureSliceScope for a specific package prefix based on a slice pattern.

Link copied to clipboard
fun fromProject(pattern: String, graph: ProjectGraph = Konture.projectGraph, sourceSets: SourceSetSelector = SourceSets.production()): KontureSliceScope

Derives a KontureSliceScope from the project graph based on a slice pattern.