Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows direct computation of the version based on versioning information #70

Open
dcoraboeuf opened this issue Dec 13, 2019 · 0 comments
Labels

Comments

@dcoraboeuf
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant