@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() |
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, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter@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