gradle does not take the excludeTags and includeTags parameters
on the command line with gradle-6.8.3. provide tasks for it,
and describe better how to run particular unit tests.
set the version to the last tag, plus the number of commits since the
last tag (called "distance"), and the git hash (sha). an example:
1.7.94-9-c9d7deca
in case there is an annotated tag on the commit built itself it
is a release, and no distance, and sha is added:
1.7.94
in case the build is not from main and master branch, the branch
name will be added, special characters are translated to underscore:
1.7.94-9-c9d7deca-other_branch