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.String key,
java.lang.Object value) |
void |
setOutputFile(java.lang.Object outputFile) |
void |
setProperties(java.util.Map<java.lang.String,?> properties) |
void |
writeProperties() |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Input 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.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