Class CreateChangeLog
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
public class CreateChangeLog extends DefaultTaskThis is an helper task to show the create the changelog.
-
-
Field Summary
Fields Modifier and Type Field Description private StringpreVersionprivate final RevObjectendRevObjectprivate FilechangelogFileprivate Booleanenabledprivate final Property<Duration>timeoutprivate final TaskStateInternalstateprivate BooleanimpliesSubProjectsprivate final BooleanhasCustomActions
-
Constructor Summary
Constructors Constructor Description CreateChangeLog(ObjectFactory objectFactory, ProjectLayout projectLayout)
-
Method Summary
Modifier and Type Method Description final StringgetPreVersion()final UnitsetPreVersion(String preVersion)final RevObjectgetEndRevObject()This method calculates the end version of the report. final FilegetChangelogFile()final UnitsetChangelogFile(File changelogFile)final UnitprovidePrevVersion(Provider<String> prevVersion)This is the provider for the targetVersion. final UnitprovideChangelogFile(Provider<RegularFile> changelogFile)Provider for output file property. final Unitrun()Main function of this task. -
Methods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPreVersion
@Optional()@Input() final String getPreVersion()
-
setPreVersion
final Unit setPreVersion(String preVersion)
-
getEndRevObject
@Input() final RevObject getEndRevObject()
This method calculates the end version of the report. It returns an JGit object.
-
getChangelogFile
@OutputFile() final File getChangelogFile()
-
setChangelogFile
final Unit setChangelogFile(File changelogFile)
-
providePrevVersion
final Unit providePrevVersion(Provider<String> prevVersion)
This is the provider for the targetVersion.
-
provideChangelogFile
final Unit provideChangelogFile(Provider<RegularFile> changelogFile)
Provider for output file property.
-
-
-
-