I'm converting my application from maven to gradle, and I'm looking for maven-release-plugin alternative for gradle.
All I need from the plugin is:
- remove '-SNAPSHOT' suffix from the version and commit to git repo
- create new git tag on this commit
- bump version in build.gradle (like pom.xml), and add '-SNASPHOT' suffix
I guess, the most popular one is Gradle Release Plugin (https://github.com/researchgate/gradle-release). It works just fine, however, it stores the version in a separate file "gradle.properties". I need to store this version in "build.gradle" file (like a version in pom.xml).
I also tested following plugins, but they don't store version in build.gradle too:
- axion-release-plugin (https://github.com/allegro/axion-release-plugin)
- Gradle-git (https://github.com/ajoberstar/gradle-git/wiki/Release-Plugins)
- gradle-release-plugin (https://github.com/netzwerg/gradle-release-plugin)
Are there any Gradle plugins which can work with version in "build.gradle" file?