stianh / gradle-release-plugin

Gradle plugin for automated release management.
54 stars 14 forks source link

The logic for deciding start & next version number should be externalized #25

Closed stigkj closed 12 years ago

stigkj commented 12 years ago

Add an option to the plugin that holds a closure which will be called when needing the next version number.

This means expanding the plugin's extension object with this option that by default holds a closure that has the same logic as what is done today:

nextVersionNumber = currentVersionNumber + 1

stigkj commented 12 years ago

Also needs an option with a closure that defines how the first release tag should be calculated.