Class VersioningTasks

java.lang.Object
dev.rafandoo.versioning.VersioningTasks

public final class VersioningTasks extends Object
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 Details

    • register

      public static void register(org.gradle.api.Project project, VersioningExtension ext)
      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.