@TaskAction
  public void checkVersion() {
    if (Strings.isNullOrEmpty(System.getProperty(JibPlugin.REQUIRED_VERSION_PROPERTY_NAME))) {
      throw new GradleException(
          JibPlugin.SKAFFOLD_CHECK_REQUIRED_VERSION_TASK_NAME
              + " requires "
              + JibPlugin.REQUIRED_VERSION_PROPERTY_NAME
              + " to be set");
    }
    // no-op as Jib version compatibility is actually checked in JibPlugin
  }
Task Action, check if jib and skaffold versions are compatible.
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/skaffold/CheckJibVersionTask.java