Class InitTask
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- com.google.cloud.tools.jib.gradle.skaffold.InitTask
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class InitTask extends org.gradle.api.DefaultTaskPrints out to.image configuration and project name, used for Jib project detection in Skaffold.Expected use:
./gradlew _jibSkaffoldInit -q
-
-
Constructor Summary
Constructors Constructor Description InitTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlistModulesAndTargets()Task Action, lists modules and targets.InitTasksetJibExtension(JibExtension jibExtension)-
Methods inherited from class org.gradle.api.DefaultTask
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, usesService
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter
-
-
-
-
Method Detail
-
setJibExtension
public InitTask setJibExtension(JibExtension jibExtension)
-
listModulesAndTargets
public void listModulesAndTargets() throws java.io.IOExceptionTask Action, lists modules and targets.- Throws:
java.io.IOException- if an error occurs generating the json string
-
-