Skip to content

0.2.0: Give the settings to the people

Compare
Choose a tag to compare
@sagebind sagebind released this 22 Nov 19:45
· 22 commits to master since this release
166e089

This release makes the plugin usable, configurable, and more efficient. It is now "good enough" to actually start using it in other projects, though naturally it is not considered fully stable until version 1.0.0.

Added

  • Added some basic tests to verify git describe parsing works.
  • A new Settings object is available that can be configured in a build file using a versioning {} block.
  • The plugin now uses the previously released version of itself for determining its own versions. This still has to be updated manually for now.

Changed

  • The version is now calculated and applied at the end of parsing the build.gradle instead of the beginning. If you set version manually it will be overwritten by the plugin unless the plugin cannot determine the version. Then the previous value is left as a fallback.

Fixed

  • Fixed a null pointer exception when attempting to parse null as a Git describe string.