https://github.com/palantir/gradle-git-version/pull/684 introduced caching for the construction of VersionDetails, but not for the actual Git commands. Actually running the Git commands is the most expensive part of computing the version, so we're not deriving much benefit if we're not caching those.
https://github.com/palantir/gradle-git-version/pull/684 introduced caching for the construction of
VersionDetails
, but not for the actual Git commands. Actually running the Git commands is the most expensive part of computing the version, so we're not deriving much benefit if we're not caching those.