Class NisseExtension.JGitExtension
java.lang.Object
eu.maveniverse.gradle.nisse.plugin.NisseExtension.JGitExtension
- Enclosing class:
NisseExtension
JGit source configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<Boolean> Whether the jgit source is active.abstract org.gradle.api.provider.Property<Boolean> Whether to append the build number.abstract org.gradle.api.provider.Property<Boolean> Whether to append a dirty qualifier when the working tree is dirty.abstract org.gradle.api.provider.Property<Boolean> Whether to append-SNAPSHOTqualifier.abstract org.gradle.api.provider.Property<String> Counting version match major pattern.abstract org.gradle.api.provider.Property<String> Counting version match minor pattern.abstract org.gradle.api.provider.Property<String> Counting version match patch pattern.abstract org.gradle.api.provider.Property<String> Counting version output pattern.abstract org.gradle.api.provider.Property<Integer> Counting version start major.abstract org.gradle.api.provider.Property<Integer> Counting version start minor.abstract org.gradle.api.provider.Property<Integer> Counting version start patch.abstract org.gradle.api.provider.Property<Boolean> Enable counting version computation from git tags.abstract org.gradle.api.provider.Property<String> Date format to use (git,iso,custom).abstract org.gradle.api.provider.Property<String> Custom date format pattern (when dateFormat iscustom).abstract org.gradle.api.provider.Property<String> The qualifier string to use when the working tree is dirty.abstract org.gradle.api.provider.Property<Boolean> Enable dynamic version computation from git tags.abstract org.gradle.api.provider.Property<Boolean> Whether to increase the patch version.abstract org.gradle.api.provider.Property<Integer> Length of the short commit id.abstract org.gradle.api.provider.Property<String> Override the version to use (bypass git-based detection).abstract org.gradle.api.provider.Property<String> Pattern for extracting version hints from tag names.
-
Constructor Details
-
JGitExtension
public JGitExtension()
-
-
Method Details
-
getActive
Whether the jgit source is active. Defaults totrue. -
getDynamicVersion
Enable dynamic version computation from git tags. -
getCountingVersion
Enable counting version computation from git tags. -
getShortCommitIdLength
Length of the short commit id. -
getIncreasePatchVersion
Whether to increase the patch version. -
getAppendBuildNumber
Whether to append the build number. -
getAppendSnapshot
Whether to append-SNAPSHOTqualifier. -
getAppendDirty
Whether to append a dirty qualifier when the working tree is dirty. -
getDirtyQualifier
The qualifier string to use when the working tree is dirty. -
getUseVersion
Override the version to use (bypass git-based detection). -
getVersionHintPattern
Pattern for extracting version hints from tag names. -
getDateFormat
Date format to use (git,iso,custom). -
getDateFormatPattern
Custom date format pattern (when dateFormat iscustom). -
getCountingStartMajor
Counting version start major. -
getCountingStartMinor
Counting version start minor. -
getCountingStartPatch
Counting version start patch. -
getCountingMatchMajor
Counting version match major pattern. -
getCountingMatchMinor
Counting version match minor pattern. -
getCountingMatchPatch
Counting version match patch pattern. -
getCountingPattern
Counting version output pattern.
-