Git Version Plugin
Plugin that exposes git-derived version information to builds.
Adds a versions extension providing gitVersion {} and versionDetails {} Groovy-closure APIs, sets Gradle extra properties gitVersion and versionDetails for easy access, and registers a printVersion task for convenience.