Skip to content

Releases: vivin/gradle-semantic-build-versioning

Version 3.0.0

16 Feb 18:07
Compare
Choose a tag to compare

Changes

  • The plugin is now a settings plugin and version bumping is performed via project properties. By using properties instead of tags, we don't have to deal with late-configuration issues, since the version wasn't ready during the config phase.
  • A previous version mistakenly started creating lightweight instead of annotated ones; annotated tags are the norm now, and messages can be configured. However, you can still create lightweight tags (see documentation).
  • The plugin does a better job of handling version calculations from tags; instead of looking for the latest version from all tags, the plugin looks for nearest ancestor-tags.
  • This plugin can deal with subprojects that have their own repo.
  • Autobumping is implicit (but can be turned off; see documentation), and there are well-defined rules for what should happen, if there is a conflict between a version-component determined by autobump vs. manual bump.
  • More tests and better coverage metrics.
  • The plugin is built against Java 7 now and so can be used in Java 7 projects.

Special Thanks

I want to thank Björn Kautler, who made significant contributions towards version 3.0.0. He did the initial conversion to the settings plugin, improved how tags were looked up, added support for multiple repos, improved autobumping, "groovyfied" the code, and also greatly improved testing and coverage - I cannot understate his level of contribution! He was also a great resource for discussing versioning use-cases in general, to figure out what "sane" behavior by the plugin should look like.