public void platforms(Action<? super PlatformParametersSpec> action) {
    platforms.empty();
    action.execute(platformParametersSpec);
  }
Object in {@link JibExtension} that configures the base image.
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BaseImageParameters.java