Package Exports
- @damlys/standard-version-updater-gradle
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@damlys/standard-version-updater-gradle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
standard-version-updater-gradle
The conventional-changelog/standard-version updater for Gradle build files.
Installation
$ npm install --save-dev @damlys/standard-version-updater-gradle
Configuration
Just use following updaters within
.versionrc.json
config file.
{
"bumpFiles": [
{
"filename": "build.gradle",
"updater": "node_modules/@damlys/standard-version-updater-gradle/dist/build-gradle.js"
}
]
}
Examples
build.gradle
file might look like that:
name = "foo"
version = "1.0.0"
group = "bar"
dependencies {
...
}
The build-gradle.js
updater looks for
a version = "<semver>"
pattern and updates it.