ajoberstar / reckon

Infer a project's version from your Git repository.
Apache License 2.0
187 stars 28 forks source link

Implement a settings plugin to ensure reckon is configured earlier #173

Closed ajoberstar closed 2 years ago

ajoberstar commented 2 years ago

As noted in #147, reckon sometimes isn't fully configured in time for other plugins that want to use the version. Being able to configure reckon at settings time should be early enough for most use cases.

This would implement a Plugin<Settings> that could be applied as an alternative to the existing project plugin. The extension would also need to be configured in the settings.gradle then too.