-
- 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 abstract class FillReadmeVersionTask extends DefaultTask
-
-
Field Summary
Fields Modifier and Type Field Description private final RegularFilePropertyinputFileprivate final RegularFilePropertyoutputFileprivate final Map<String, Function0<String>>replacements
-
Constructor Summary
Constructors Constructor Description FillReadmeVersionTask()
-
Method Summary
Modifier and Type Method Description abstract RegularFilePropertygetInputFile()abstract RegularFilePropertygetOutputFile()final Map<String, Function0<String>>getReplacements()final Function0<String>addReplacement(String key, Function0<String> replacement)final Function0<String>version(String key)final Unitfill()-
Methods inherited from class dev.brella.kornea.gradle.FillReadmeVersionTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getInputFile
@InputFile() abstract RegularFileProperty getInputFile()
-
getOutputFile
@OutputFile() abstract RegularFileProperty getOutputFile()
-
getReplacements
@Internal() final Map<String, Function0<String>> getReplacements()
-
addReplacement
final Function0<String> addReplacement(String key, Function0<String> replacement)
-
-
-
-