public class BuildTarTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
BuildTarTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildTar() |
org.gradle.api.file.FileCollection |
getInputFiles() |
JibExtension |
getJib()
This will call the property
"jib" so that it is the same name as the extension. |
java.lang.String |
getOutputFile()
The output file to check for task up-to-date.
|
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.@InputFiles public org.gradle.api.file.FileCollection getInputFiles()
classes task.@OutputFile public java.lang.String getOutputFile()
public void buildTar()
throws InvalidImageReferenceException
InvalidImageReferenceException