[#5] Improve Gradle versioning system

Dylan Wilson requested to merge issue-5 into main

The branch name is now included in the version number in Gradle - except when running on the main branch or if it is not known (i.e., a local build). This allows for a different version to be produced for each branch.

Additionally, the -SNAPSHOT suffix will be used for all non-tag builds and the -RELEASE suffix will be used for tag builds.

Closes #5 (closed).

Merge request reports