repo

fun repo(name: String, configure: RepoDsl.() -> Unit): StigRepoRef

Defines a repo (source repository location).

Returns a StigRepoRef that can be used for type-safe assignment:

val sourceRepo = repo("sourceRepo") {
root = "../../../sourceRepo"
}
group("source_activities") {
from(sourceRepo) // Type-safe reference
}

Return

A type-safe reference to this repo

Parameters

name

The repo name (should match directory name for consistency)

configure

Configuration block for the repo