@CacheableTask
public class WritePropertiesTask
extends org.gradle.api.DefaultTask
Constructor and Description |
---|
WritePropertiesTask() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getOutputFile() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
WritePropertiesTask |
properties(java.util.Map<java.lang.String,?> properties) |
WritePropertiesTask |
property(java.lang.Object key,
java.lang.Object value) |
WritePropertiesTask |
property(java.lang.String key,
java.lang.Object value) |
void |
setOutputFile(java.lang.Object outputFile) |
void |
setProperties(java.util.Map<java.lang.String,?> properties) |
void |
writeProperties() |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
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
@Input @PathSensitive(value=RELATIVE) public java.io.File getOutputFile()
@Input @SkipWhenEmpty public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public WritePropertiesTask properties(java.util.Map<java.lang.String,?> properties)
public WritePropertiesTask property(java.lang.Object key, java.lang.Object value)
public WritePropertiesTask property(java.lang.String key, java.lang.Object value)
public void setOutputFile(java.lang.Object outputFile)
public void setProperties(java.util.Map<java.lang.String,?> properties)
public void writeProperties() throws java.io.IOException
java.io.IOException