Being able to set the version from the command lineduring build.
What
Moving version in properties means it can be overwritten during the execution of gradle commands
Why
See motivation
How
Moving to gradle.properties are read before it reads the gradle.build file and can be overwritten from cli.
Verification Steps
Build without the -Pversion=3.0.0 and it build the one specified in the gradle.properties
Build with the -Pversion=3.0.0 and will build the version specified in cli.
Checklist:
[x] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member
Motivation
Being able to set the version from the command lineduring build.
What
Moving version in properties means it can be overwritten during the execution of gradle commands
Why
See motivation
How
Moving to gradle.properties are read before it reads the gradle.build file and can be overwritten from cli.
Verification Steps
Build without the
-Pversion=3.0.0
and it build the one specified in the gradle.properties Build with the-Pversion=3.0.0
and will build the version specified in cli.Checklist:
Progress
Additional Notes
N/A