Added semver command line option.

This commit is contained in:
Erik C. Thauvin 2019-04-14 00:34:44 -07:00
parent b9ead8272e
commit 9d996cccac

View file

@ -121,6 +121,14 @@ version.buildmeta=beta
version.semver=1.0.0-beta version.semver=1.0.0-beta
``` ```
The full semantic version can also be specified via the `semver` property:
```ini
./gradlew -Dversion.semver=1.0.0-beta ...
```
If a version cannot be parsed your build will **fail**.
## Configuration ## Configuration
### Version File Properties ### Version File Properties