JavierSegoviaCordoba / semver-gradle-plugin

Set projects versions based on git tags and following semantic versioning
https://semver-gradle-plugin.javiersc.com
Other
25 stars 3 forks source link

Unable to get the correct tag prefix in configuration phase #79

Closed JavierSegoviaCordoba closed 2 years ago

JavierSegoviaCordoba commented 2 years ago

It is a bad practice to use eager Gradle APIs, but due to some third-party plugins, sometimes it is necessary to get the tag prefix in the configuration phase.

The only way to fix this is using a Gradle Property, for example semver.project.tagPrefix, instead of getting the prefix from the plugin extension semver.tagPrefix.