public class BuildImageTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
BuildImageTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildImage() |
JibExtension |
getJib()
This will call the property
"jib" so that it is the same name as the extension. |
void |
setTargetImage(java.lang.String targetImage)
The target image can be overridden with the
--image command line option. |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, 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, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Nullable public JibExtension getJib()
"jib" so that it is the same name as the extension. This
way, the user would see error messages for missing configuration with the prefix jib..JibExtension.public void setTargetImage(java.lang.String targetImage)
--image command line option.targetImage - the name of the 'to' image.public void buildImage()
throws InvalidImageReferenceException
InvalidImageReferenceException