STIG Help

Gradle task dependencies

These diagrams come from Gradle's resolved Task.taskDependencies after applying and configuring the STIG plugin. They include dependencies carried by task-backed input providers, not just explicit dependsOn declarations. No task actions run during generation.

An arrow points from a prerequisite to its dependent. It does not specify a total execution order. Ordering constraints (mustRunAfter and shouldRunAfter) and finalizedBy are not prerequisite edges and are not shown. Caching, onlyIf, and execution-time checks can skip task actions without removing their registered prerequisites. Statically disabled tasks are marked in the diagrams. Each view uses a separate reference build with the named task selected before plugin configuration, so invocation-dependent wiring, such as root aggregation and the configuration writer, is respected.

The reference build contains a root and one :element activity. It enables specification import, a generated analysis harness, data/control-flow analysis, and cascading-failures analysis; it selects one native target and one source compilation unit. These settings expose the optional pipeline branches. A consumer's enabled features, selected tasks, and included builds can change its effective graph. The diagrams describe this configured reference build, not a captured consumer execution.

See STIG workflows for task intent and the task API for options. Regenerate this page from the STIG source root:

./gradlew :stig-codex-plugin:generateStigKnowledgeReferences

The output is stig-codex-plugin/build/generated/references/specifications/configuration-and-gradle/gradle-task-graph.md. Writerside and the Codex plugin package this same generated Markdown.

Overview

This compact view selects the main producers and report gates from the activity report graph. Arrows represent prerequisite paths: intermediate tasks and transitively implied links are omitted. Labels split the registered task names into words. The following detailed views retain direct dependencies.

:element

P1 Extract Native
Compile Commands

P2 Convert Compile
Commands To Llvm

P3 Select Provenance
Compile Commands

P3 Build Provenance
Bitcode

P4 Select Software
Under Analysis

P5 Apply Bitcode
Transforms

Generate Analysis Harness

P6 Run Analyzer

P7 Generate Diagrams

Generate Html

Check Model

Root report

Element tasks are leaves in this view; their prerequisites are expanded below.

:element

Root

:dokkaGenerate

:dokkaGeneratePublicationHtml

:stigAggregateProblemsSarif

:stigAssembleDokkaEnginePlugin

:stigCollectAnalysisStatistics

:stigExtractDokkaResources

:stigGenerateHtml

:stigGenerateHtmlPipelineStart

:stigGenerateMarkdown

:stigLockAnalysisWorkspace

:stigPrepareReviewAssets

:stigPrintVersion

:element:dokkaGenerateModuleHtml

:element:stigAnalysisP1BuildNativeTarget

:element:stigAnalysisP1ExtractNativeCompileCommands

:element:stigAnalysisP5DeriveInterfacePoints

:element:stigAnalysisP5GenerateAnalyzerRunPlan

:element:stigAnalysisP5ProduceBitcodeTransformEvidence

:element:stigAnalysisP6RunAnalyzer

:element:stigAnalysisP7GenerateDiagrams

:element:stigAnalysisP7SelectSourceCompileCommands

:element:stigCheckConfig

:element:stigCheckModel

:element:stigCheckP5SymbolCompleteness

:element:stigExtractAnalysisInterfaceInventory

:element:stigGenerateAnalysisHarness

:element:stigGenerateDiagramAppendix

:element:stigGenerateMarkdown

:element:stigPrepareDokkaIncludes

Activity report

Prerequisites of :element:stigGenerateHtml with source analysis enabled. Model import is a separate source-editing invocation.

:element

Root

:stigAssembleDokkaEnginePlugin

:stigExtractDokkaResources

:stigGenerateHtmlPipelineStart

:stigLockAnalysisWorkspace

:stigPrintVersion

:stigSetupAnalyzer

:element:checkKotlinGradlePluginConfigurationErrors

:element:classes

:element:compileJava

:element:compileKotlin

:element:compileStigContextJava

:element:compileStigContextKotlin

:element:dokkaGeneratePublicationHtml

:element:processResources

:element:processStigContextResources

:element:stigAnalysisP1BuildNativeTarget

:element:stigAnalysisP1ExtractNativeCompileCommands

:element:stigAnalysisP1PatchNativeSources

:element:stigAnalysisP2ConvertCompileCommandsToLlvm

:element:stigAnalysisP3BuildProvenanceBitcode

:element:stigAnalysisP3CompileProvenanceSources

:element:stigAnalysisP3SelectProvenanceCompileCommands

:element:stigAnalysisP4SelectSoftwareUnderAnalysis

:element:stigAnalysisP5ApplyBitcodeTransforms

:element:stigAnalysisP5BuildUntransformedAnalyzerInput

:element:stigAnalysisP5CompileAnalyzerInputSources

:element:stigAnalysisP5DeriveInterfacePoints

:element:stigAnalysisP5GenerateAnalyzerRunPlan

:element:stigAnalysisP5ProduceBitcodeTransformEvidence

:element:stigAnalysisP5SelectAnalyzerInputCompileCommands

:element:stigAnalysisP6RunAnalyzer

:element:stigAnalysisP6SliceAnalyzerInput

:element:stigAnalysisP7CollectDescriptions

:element:stigAnalysisP7CollectMetrics

:element:stigAnalysisP7GenerateAppliedTransformations

:element:stigAnalysisP7GenerateDiagrams

:element:stigAnalysisP7SelectSourceCompileCommands

:element:stigBuildConfiguredAnalyzerInputInventory

:element:stigBuildFullLlvmOwnershipInventory

:element:stigCheckConfig

:element:stigCheckModel

:element:stigCheckP5SymbolCompleteness

:element:stigCompileConfiguredAnalyzerInputSources

:element:stigCompileFullLlvmOwnershipSources

:element:stigContextClasses

:element:stigDeriveAnalysisConfiguration

:element:stigExtractAnalysisInterfaceInventory

:element:stigGenerateAnalysisHarness

:element:stigGenerateDiagramAppendix

:element:stigGenerateHtml

:element:stigGenerateMarkdown

:element:stigLockAnalysisWorkspace

:element:stigPrepareAnalysisTransformConfiguration

:element:stigPrepareDokkaIncludes

:element:stigPrepareModelReport

:element:stigPrepareReviewAssets

:element:stigPrepareTransformReviewEvidence

:element:stigSelectConfiguredAnalyzerInputCompileCommands

Analysis configuration

Prerequisites of :element:stigConfigureAnalysis. Run this configuration writer alone, then use a new Gradle invocation to check the changed build scripts.

:element

:element:stigAnalysisP1BuildNativeTarget

:element:stigAnalysisP1PatchNativeSources

:element:stigLockAnalysisWorkspace

:element:stigAnalysisP1ExtractNativeCompileCommands

:element:stigAnalysisP2ConvertCompileCommandsToLlvm

:element:stigAnalysisP3CompileProvenanceSources

:element:stigAnalysisP3BuildProvenanceBitcode

:element:stigAnalysisP3SelectProvenanceCompileCommands

:element:stigAnalysisP4SelectSoftwareUnderAnalysis

:element:stigAnalysisP5CompileAnalyzerInputSources

:element:stigAnalysisP5BuildUntransformedAnalyzerInput

:element:stigAnalysisP5SelectAnalyzerInputCompileCommands

:element:stigGenerateAnalysisHarness

:element:stigCompileConfiguredAnalyzerInputSources

:element:stigBuildConfiguredAnalyzerInputInventory

:element:stigCompileFullLlvmOwnershipSources

:element:stigBuildFullLlvmOwnershipInventory

:element:stigSelectConfiguredAnalyzerInputCompileCommands

:element:stigDeriveAnalysisConfiguration

:element:stigConfigureAnalysis

:element:stigExtractAnalysisInterfaceInventory

Configuration-only checking

Prerequisites of :element:stigCheckAnalysis --configuration-only.

:element

Root

:stigPrintVersion

:element:stigAnalysisP1BuildNativeTarget

:element:stigAnalysisP1ExtractNativeCompileCommands

:element:stigAnalysisP1PatchNativeSources

:element:stigAnalysisP2ConvertCompileCommandsToLlvm

:element:stigAnalysisP3BuildProvenanceBitcode

:element:stigAnalysisP3CompileProvenanceSources

:element:stigAnalysisP3SelectProvenanceCompileCommands

:element:stigAnalysisP4SelectSoftwareUnderAnalysis

:element:stigAnalysisP5ApplyBitcodeTransforms

:element:stigAnalysisP5BuildUntransformedAnalyzerInput

:element:stigAnalysisP5CompileAnalyzerInputSources

:element:stigAnalysisP5DeriveInterfacePoints

:element:stigAnalysisP5GenerateAnalyzerRunPlan

:element:stigAnalysisP5ProduceBitcodeTransformEvidence

:element:stigAnalysisP5SelectAnalyzerInputCompileCommands

:element:stigBeginAnalysisCheckAttempt

:element:stigBuildConfiguredAnalyzerInputInventory

:element:stigBuildFullLlvmOwnershipInventory

:element:stigCheckAnalysis

:element:stigCollectAnalysisConfigurationEvidence

:element:stigCollectNativeSymbolProviders

:element:stigCompileConfiguredAnalyzerInputSources

:element:stigCompileFullLlvmOwnershipSources

:element:stigDeriveAnalysisConfiguration

:element:stigExtractAnalysisInterfaceInventory

:element:stigGenerateAnalysisHarness

:element:stigLockAnalysisWorkspace

:element:stigPrepareTransformReviewEvidence

:element:stigSelectConfiguredAnalyzerInputCompileCommands

Full analysis collection

Direct prerequisites of :element:stigCheckAnalysis without --configuration-only. The report and configuration prerequisites are expanded in the preceding views.

:element

Root

:stigPrintVersion

:element:stigBeginAnalysisCheckAttempt

:element:stigCheckAnalysis

:element:stigCollectAnalysisConfigurationEvidence

:element:stigGenerateHtml

:element:stigLockAnalysisWorkspace

23 October 2026