By default, BuildInfo is published with a build name constructed from the name of your root project and a build number that is the start date of the build.
You can control the build name and number values by specifying the following properties respectively:
Specifying the build name and number
buildInfo.build.name=my-super-cool-build buildInfo.build.number=r9001
The above properties should be added to your project's gradle.properties file.