StigProjectSettingsExtension

open class StigProjectSettingsExtension @Inject constructor(settings: Settings)

DSL classes for STIG project configuration.

The public entry point is com.stigway.gradle.dsl.StigProjectExtension (registered on the root project in build.gradle.kts). This file contains the shared DSL building blocks: DefaultsDsl, RepoDsl, GroupDsl, BazelBuildDsl, and SourceCodeAnalysisDsl.

StigProjectSettingsExtension is retained for consumers that still use the settings-phase plugin, but new projects should declare configuration in root build.gradle.kts instead.

Constructors

Link copied to clipboard
@Inject
constructor(settings: Settings)

Properties

Link copied to clipboard

Reverse-domain prefix prepended to all synthesized Kotlin packages (activities, clusters, components, generated viewpoints).

Functions

Link copied to clipboard
fun defaults(configure: DefaultsDsl.() -> Unit)
Link copied to clipboard
fun generateHtml(configure: GenerateHtmlDsl.() -> Unit)

Local HTML generation and preview configuration.

Link copied to clipboard
fun group(name: String, configure: GroupDsl.() -> Unit): StigGroupRef

Defines a group (category of elements with shared settings).

Link copied to clipboard
fun repo(name: String, configure: RepoDsl.() -> Unit): StigRepoRef

Defines a repo (source repository location).

Link copied to clipboard

Project-wide source-code analysis pipeline toggles (Phasar dataflow / cascading failures, view modes, example wiring).