Package io.github.joke.conventionalversion.git
@NullMarked
package io.github.joke.conventionalversion.git
Gathers repository facts by running
git.
The CLI rather than a library: JGit would be the only entry on a consuming build's buildscript
classpath, and the real client already handles worktrees, submodules and safe.directory
correctly. Requiring git on the PATH is a fair precondition for a plugin whose
whole purpose is reading git.
Excluded from mutation testing: this package is observable only against a real repository, so it is covered by functional tests rather than by unit tests.
-
ClassDescriptionA precondition the calculation cannot proceed without.Runs
gitin a directory and returns its standard output.The repository reads the calculation needs, each one git command.Gathers everything the calculation needs from a checkout.