Package uk.co.mulecode.versioning.plugin
Class ScmVersion
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- uk.co.mulecode.versioning.plugin.ScmVersion
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class ScmVersion extends org.gradle.api.DefaultTask
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOUTPUT_DIR_NAME
-
Constructor Summary
Constructors Constructor Description ScmVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyNextVersion()java.io.FilegetVersioningFolderOut()java.lang.StringnextVersion()voidsetApplyVersion(java.lang.Boolean applyVersion)voidsetInitialVersion(java.lang.String initialVersion)voidsetTagSuffix(java.lang.String tagSuffix)voidsetVersionIncrementer(java.lang.String versionIncrementer)-
Methods inherited from class org.gradle.api.DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
-
-
-
Field Detail
-
OUTPUT_DIR_NAME
public static final java.lang.String OUTPUT_DIR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersioningFolderOut
@OutputDirectory public java.io.File getVersioningFolderOut()
-
applyNextVersion
public void applyNextVersion()
-
nextVersion
public java.lang.String nextVersion()
-
setVersionIncrementer
public void setVersionIncrementer(java.lang.String versionIncrementer)
-
setTagSuffix
public void setTagSuffix(java.lang.String tagSuffix)
-
setInitialVersion
public void setInitialVersion(java.lang.String initialVersion)
-
setApplyVersion
public void setApplyVersion(java.lang.Boolean applyVersion)
-
-