You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use built in git-describe rather than an expensive recreation of it to support older versions of git. This version requires git version >=1.8.4 (released 23rd August 2013).
The PR removes all usage of jgit and use native git. The native git binary is now required for this plugin to work. There are two major benefits: 1. Only calls git describe once now so the gitVersion() task is much faster. 2. The plugin current supports git worktree.
1. Caching is added to gitVersion() or versionDetails() to avoid long configuration time caused by repeatedly calling git describe on subprojects. 2. The implementation uses BuildService which is introduced in Gradle 6.1. Therefore, any version before Gradle 6.1 won't be supported.