TeamOwnershipConfig

DSL for mapping team names to module path glob patterns. Configured via:

aalekh {
teams {
team("auth-team") { modules(":feature:login:**", ":core:auth") }
team("data-team") { modules(":data:**") }
}
}

Team assignments appear in the HTML report as a color overlay and cross-team dependency violations are annotated separately.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@get:Input
val teams: MutableMap<String, List<String>>

Map of team name to list of module path glob patterns.

Functions

Link copied to clipboard
fun team(name: String, configure: TeamConfig.() -> Unit)

Declares a team and configures which module paths belong to it. Module paths support * (single segment) and ** (multi-segment) globs.

Link copied to clipboard

Serialises team map for use as a Gradle task @Input string.