Added command line info.

This commit is contained in:
Erik C. Thauvin 2019-04-10 14:13:32 -07:00
parent 8b0108ba96
commit e17feafd90

View file

@ -102,6 +102,14 @@ Version: 1.0.16-beta+002
- __Examples__: [Java](https://github.com/ethauvin/semver-gradle/tree/master/examples/java), [Kotlin](https://github.com/ethauvin/semver-gradle/tree/master/examples/kotlin)
## Command Line
The `major`, `minor`, `patch`, `prerelease` and `buildmeta` versions can also be set via the command line:
```bash
./gradlew -Dversion.prerelease=beta ...
```
## Configuration
### Version File Properties