Table of Contents

Namespace Steeltoe.Management.GitProperties.Build

Classes

ComposeGitPropertiesTask

Merges the shared git.properties cache with the fields that can never be cached: the live repository dirty state, the per-project $(Version), and the build's own timestamp. Runs every build with no Inputs/Outputs skip: editing a tracked file doesn't touch any file timestamp this task could key incrementality off, and a cached build time would go stale the moment it's reused.

DetectConsumingPackageReferenceTask

Determines whether this project's own fully-resolved dependency graph includes any of PackageIds. Used to auto-detect whether to generate git.properties, so most projects in a large solution skip generation without opting out individually.

FindGitRepositoryRootTask

Walks up from StartDirectory looking for a ".git" directory (a regular repository) or file (used by worktrees and submodules).

GenerateGitPropertiesCacheTask

Computes the git.properties fields that are stable across the whole repository and writes them to a shared cache file, so concurrent and/or multi-targeted projects in the same solution build reuse it instead of each re-invoking git.