Class CheckJibVersionTask
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- com.google.cloud.tools.jib.gradle.skaffold.CheckJibVersionTask
-
- 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 CheckJibVersionTask extends org.gradle.api.DefaultTaskThis internal Skaffold-related goal checks that the Jib plugin version is within some specified range. It is only required so that older versions of Jib (prior to the introduction of thejib.requiredVersionproperty) will error in such a way that it indicates the jib version is out of date. This goal can be removed once there are no users of Jib prior to 1.4.0.Expected use:
./gradlew _skaffoldFailIfJibOutOfDate -Djib.requiredVersion='[1.4,2)' jibDockerBuild --image=xxx
-
-
Constructor Summary
Constructors Constructor Description CheckJibVersionTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckVersion()Task Action, check if jib and skaffold versions are compatible.-
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
-
-