Skip to content

Commit

Permalink
docs: minor fix to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfara authored and DanySK committed Feb 21, 2023
1 parent f3906cc commit f7f833d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ the version.
The plugin allows to manually set the version via a gradle property that, if present, will be used as the version of the project.
By default, the property name is `forceVersion`, but you can change the property name by setting the `forceVersionPropertyName` property of the plugin with a custom name.

`./gradlew -PforceVersion=1.2.3 build` will result in the project version being set to `1.2.3`.
`./gradlew -PforceVersion=1.2.3 <task list>` will result in the project version being set to `1.2.3`.

If a custom property name is used, the plugin will look for the property with the given name:

Expand All @@ -86,7 +86,7 @@ gitSemVer {
}
```

`./gradlew -PmyCustomPropertyVersion=1.2.3 build` will result in the project version being set to `1.2.3`.
`./gradlew -PmyCustomPropertyVersion=1.2.3 <task list>` will result in the project version being set to `1.2.3`.

## Contributing to the project

Expand Down

0 comments on commit f7f833d

Please sign in to comment.