Interface GenerateChangelog
- All Superinterfaces:
Comparable<org.gradle.api.Task>,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Named,org.gradle.api.Task
public sealed interface GenerateChangelog
extends org.gradle.api.Task
Generates a changelog for the project based on the Git history using
Git Version.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name for the task, used by the extension when registering it.Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean> Whether to build the changelog in Markdown format.org.gradle.api.file.RegularFilePropertyThe output file for the changelog.org.gradle.api.provider.Property<String> The project URL to use in the changelog.org.gradle.api.provider.Property<String> getStart()The tag (or object ID) to start the changelog from.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gradle.api.plugins.ExtensionAware
getExtensionsMethods inherited from interface org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Field Details
-
NAME
-
-
Method Details
-
getOutputFile
@OutputFile org.gradle.api.file.RegularFileProperty getOutputFile()The output file for the changelog.- Returns:
- A property for the output file
-
getStart
The tag (or object ID) to start the changelog from.- Returns:
- A property for the start tag
-
getProjectUrl
The project URL to use in the changelog.
Git Version will automatically attempt to find a URL from the repository's remote details if left unspecified.
- Returns:
- A property for the project URL
-
getBuildMarkdown
Whether to build the changelog in Markdown format.- Returns:
- A property for Markdown formatting
-