Class NisseExtension.JGitExtension

java.lang.Object
eu.maveniverse.gradle.nisse.plugin.NisseExtension.JGitExtension
Enclosing class:
NisseExtension

public abstract static class NisseExtension.JGitExtension extends Object
JGit source configuration.
  • Constructor Details

    • JGitExtension

      public JGitExtension()
  • Method Details

    • getActive

      public abstract org.gradle.api.provider.Property<Boolean> getActive()
      Whether the jgit source is active. Defaults to true.
    • getDynamicVersion

      public abstract org.gradle.api.provider.Property<Boolean> getDynamicVersion()
      Enable dynamic version computation from git tags.
    • getCountingVersion

      public abstract org.gradle.api.provider.Property<Boolean> getCountingVersion()
      Enable counting version computation from git tags.
    • getShortCommitIdLength

      public abstract org.gradle.api.provider.Property<Integer> getShortCommitIdLength()
      Length of the short commit id.
    • getIncreasePatchVersion

      public abstract org.gradle.api.provider.Property<Boolean> getIncreasePatchVersion()
      Whether to increase the patch version.
    • getAppendBuildNumber

      public abstract org.gradle.api.provider.Property<Boolean> getAppendBuildNumber()
      Whether to append the build number.
    • getAppendSnapshot

      public abstract org.gradle.api.provider.Property<Boolean> getAppendSnapshot()
      Whether to append -SNAPSHOT qualifier.
    • getAppendDirty

      public abstract org.gradle.api.provider.Property<Boolean> getAppendDirty()
      Whether to append a dirty qualifier when the working tree is dirty.
    • getDirtyQualifier

      public abstract org.gradle.api.provider.Property<String> getDirtyQualifier()
      The qualifier string to use when the working tree is dirty.
    • getUseVersion

      public abstract org.gradle.api.provider.Property<String> getUseVersion()
      Override the version to use (bypass git-based detection).
    • getVersionHintPattern

      public abstract org.gradle.api.provider.Property<String> getVersionHintPattern()
      Pattern for extracting version hints from tag names.
    • getDateFormat

      public abstract org.gradle.api.provider.Property<String> getDateFormat()
      Date format to use (git, iso, custom).
    • getDateFormatPattern

      public abstract org.gradle.api.provider.Property<String> getDateFormatPattern()
      Custom date format pattern (when dateFormat is custom).
    • getCountingStartMajor

      public abstract org.gradle.api.provider.Property<Integer> getCountingStartMajor()
      Counting version start major.
    • getCountingStartMinor

      public abstract org.gradle.api.provider.Property<Integer> getCountingStartMinor()
      Counting version start minor.
    • getCountingStartPatch

      public abstract org.gradle.api.provider.Property<Integer> getCountingStartPatch()
      Counting version start patch.
    • getCountingMatchMajor

      public abstract org.gradle.api.provider.Property<String> getCountingMatchMajor()
      Counting version match major pattern.
    • getCountingMatchMinor

      public abstract org.gradle.api.provider.Property<String> getCountingMatchMinor()
      Counting version match minor pattern.
    • getCountingMatchPatch

      public abstract org.gradle.api.provider.Property<String> getCountingMatchPatch()
      Counting version match patch pattern.
    • getCountingPattern

      public abstract org.gradle.api.provider.Property<String> getCountingPattern()
      Counting version output pattern.