After migrating to main from master the version string still shows the non-qualified branch name (which I changed to main).
plugins {
id("fr.brouillard.oss.gradle.jgitver") version "0.10.0-rc03"
}
jgitver {
useDirty = false
nonQualifierBranches = "main"
}
------------------------------------------------------------
Gradle 7.0.2
------------------------------------------------------------
Build time: 2021-05-14 12:02:31 UTC
Revision: 1ef1b260d39daacbf9357f9d8594a8a743e2152e
Kotlin: 1.4.31
Groovy: 3.0.7
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 17-loom (Oracle Corporation 17-loom+7-342)
OS: Mac OS X 11.4 x86_64
> Task :version
Version: 1.1.0-1-main
After migrating to
mainfrommasterthe version string still shows the non-qualified branch name (which I changed to main).plugins { id("fr.brouillard.oss.gradle.jgitver") version "0.10.0-rc03" } jgitver { useDirty = false nonQualifierBranches = "main" }> Task :version Version: 1.1.0-1-main