Package dev.rafandoo.versioning
Class VersioningTasks
java.lang.Object
dev.rafandoo.versioning.VersioningTasks
Registers Gradle tasks responsible for semantic-version increments.
Each task updates the VersionManager through the VersioningExtension,
writes the updated version to the project, and logs the change from the previous version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(org.gradle.api.Project project, VersioningExtension ext) Registers all version bump tasks (major, minor, patch, RC) and a release task for the given project.
-
Method Details
-
register
Registers all version bump tasks (major, minor, patch, RC) and a release task for the given project.- Parameters:
project- gradle project where tasks will be added.ext- extension holding the version manager and current version state.
-