versioning icon indicating copy to clipboard operation
versioning copied to clipboard

Allows direct computation of the version based on versioning information

Open dcoraboeuf opened this issue 6 years ago • 0 comments

A project version can be somehow very complex, based on different strategies. The versioning plugin was very opiniated about this.

In many circumstances, we want just want to compute the version based on SCM version.

Goal of this feature is to allow a construct like this:

versioning {
   version = { scmInfo, versionInfo -> // compute version based on provided elements)
}

allprojects {
   version = versioning.version
}

The versionFile will also inject the Gradle version as VERSION in the version.properties file.

dcoraboeuf avatar Dec 13 '19 14:12 dcoraboeuf