Git.SemVersioning.Gradle icon indicating copy to clipboard operation
Git.SemVersioning.Gradle copied to clipboard

Add a Settings plugin to automatically configure the `project.version` for all subprojects

Open tacascer opened this issue 1 year ago • 3 comments

Hi there,

I think having a Settings plugin to set the version from this plugin as the project.version property would be nice! The behavior is inspired from the reckon plugin.

P/S I'm willing to contribute this feature if you folks think it's a good addition

tacascer avatar Sep 19 '23 03:09 tacascer

Hi, Yes, this could be a good idea. Try implementing it if you like.

jmongard avatar Sep 19 '23 11:09 jmongard

Do you still thing this is a good Idea?

I saw some other plugin that had both a settings plugin and a project plugin. The settings plugin applied the project plugin to every project.

jmongard avatar Feb 09 '24 16:02 jmongard

So I was thinking about how we can support the version format behavior across subprojects

This API right here:

semver.semVersion.toInfoVersionString(commitCountStringFormat: String = "%03d", shaLength: Int = 0, version2: Boolean = true, appendPreReleaseLast: Boolean = false)

tacascer avatar Feb 10 '24 01:02 tacascer